diff options
author | metamuffin <metamuffin@disroot.org> | 2023-02-16 15:11:11 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-02-16 15:11:11 +0100 |
commit | 70e1090e7c5e5aa6ed0a621ad71924b7931ef05d (patch) | |
tree | 89279f7fb4e8b5037df0833d75f979cc25e11011 | |
parent | 521b99b2e912ba6b73a87098ef603e5c03809104 (diff) | |
download | keks-meet-70e1090e7c5e5aa6ed0a621ad71924b7931ef05d.tar keks-meet-70e1090e7c5e5aa6ed0a621ad71924b7931ef05d.tar.bz2 keks-meet-70e1090e7c5e5aa6ed0a621ad71924b7931ef05d.tar.zst |
add <meta> description
-rw-r--r-- | client-web/public/app.html | 1 | ||||
-rw-r--r-- | client-web/public/start.html | 3 | ||||
-rw-r--r-- | server/src/main.rs | 7 |
3 files changed, 9 insertions, 2 deletions
diff --git a/client-web/public/app.html b/client-web/public/app.html index 665a7d2..d121be2 100644 --- a/client-web/public/app.html +++ b/client-web/public/app.html @@ -3,6 +3,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="description" content="A simple secure web conferencing application using webrtc"> <script async type="module" src="/assets/bundle.js"></script> <link rel="stylesheet" href="/assets/style/master.css" /> <title>keks-meet</title> diff --git a/client-web/public/start.html b/client-web/public/start.html index 27b45f5..7a1885c 100644 --- a/client-web/public/start.html +++ b/client-web/public/start.html @@ -3,13 +3,14 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <meta name="description" content="A simple secure web conferencing application using webrtc"> <link rel="stylesheet" href="/assets/style/master.css" /> <title>keks-meet</title> </head> <body class="start"> <div class="start-box"> <h1>keks-meet</h2> - <p class="description">A web conferencing application using webrtc</p> + <p class="description">A simple secure conferencing application using webrtc</p> <br> <p> keks-meet is free software! It is licenced under the terms of diff --git a/server/src/main.rs b/server/src/main.rs index c818eb5..61c9ad1 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -42,10 +42,15 @@ async fn run() { .and(warp::ws()) .map(signaling_connect); + // TODO add cache policy headers + let index: _ = warp::path!().and(s_file!("client-web/public/start.html", "text/html")); let room: _ = warp::path!("room").and(s_file!("client-web/public/app.html", "text/html")); let assets: _ = warp::path("assets").and(s_asset_dir!()); - let sw_script: _ = warp::path("sw.js").and(s_file!("client-web/public/assets/sw.js", "application/javascript")); + let sw_script: _ = warp::path("sw.js").and(s_file!( + "client-web/public/assets/sw.js", + "application/javascript" + )); let favicon: _ = warp::path!("favicon.ico").map(|| ""); let old_format_redirect: _ = warp::path!("room" / String).map(|rsecret| { reply::with_header( |