diff --git a/src/assets.rs b/src/assets.rs index 4c67734..7384c61 100644 --- a/src/assets.rs +++ b/src/assets.rs @@ -41,8 +41,12 @@ pub fn file_from_string(file_path: &str) -> Option<(String, &'static [u8])> { "/fonts/roboto-v18-latin-regular.ttf", "/fonts/roboto-v18-latin-regular.woff", "/fonts/roboto-v18-latin-regular.woff2", + "/js/vue.min.js", + "/js/vue.js", + "/js/vue-router.min.js", + "/js/vue-router.js", "/js/helpers.js", - "/js/vue.min.js" + "/js/views.js" )?; Some((string_mime, contents)) diff --git a/src/main.rs b/src/main.rs index ffc518a..53e5c9c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -149,7 +149,7 @@ fn main() { let server = WebServer::with_addr(framework.clone(), address) .log_expect("Failed to bind to address"); - debug!("Server: {:?}", address); + info!("Server: {:?}", address); http_address = Some(address); diff --git a/static/index.html b/static/index.html index 6d26c2b..7bd63c4 100644 --- a/static/index.html +++ b/static/index.html @@ -28,7 +28,9 @@ -