From 4b026c618ed6b40a22c0bf601b45e1da96d5bc5e Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 10 Apr 2023 14:15:33 +0200 Subject: new (useless) sw --- server/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/src') diff --git a/server/src/main.rs b/server/src/main.rs index 78f236a..26d22ee 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -77,12 +77,14 @@ async fn run() { ) .into_response() }); + let version: _ = warp::path!("version").map(|| env!("CARGO_PKG_VERSION")); let routes: _ = assets .or(room) .or(index) .or(signaling) .or(client_config) + .or(version) .or(favicon) .or(sw_script) .or(old_format_redirect) -- cgit v1.2.3-70-g09d2