diff options
Diffstat (limited to 'server/src/main.rs')
-rw-r--r-- | server/src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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) |