about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-05-20T12·12+0200
committerVincent Ambo <github@tazj.in>2018-05-22T07·45+0200
commiteaf1c46ba8515323c9d86c6fa2daa828f41e791c (patch)
tree63b32a7d13c06aa6ee0a2670f4fede165ba7545a /src
parentd0d3777eaab9c1be13e68db3171040288ad94dd6 (diff)
feat(templates): Add new MDL based index page
Diffstat (limited to 'src')
-rw-r--r--src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 9ca3c8552c18..4db4ab5cc920 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -203,7 +203,8 @@ fn start_http_server(base_url: String,
             .resource("/oidc/login", |r| r.method(Method::GET).with(login))
             .resource("/oidc/callback", |r| r.method(Method::POST).with3(callback))
             .static_file("/static/highlight.css", include_bytes!("../static/highlight.css"))
-            .static_file("/static/highlight.js", include_bytes!("../static/highlight.js"));
+            .static_file("/static/highlight.js", include_bytes!("../static/highlight.js"))
+            .static_file("/static/styles.css", include_bytes!("../static/styles.css"));
 
         if require_login {
             app.middleware(RequireLogin)