diff options
Diffstat (limited to 'server/src/main.rs')
-rw-r--r-- | server/src/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/src/main.rs b/server/src/main.rs index 268e2a4..12039c3 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -41,8 +41,10 @@ async fn run() { let index = warp::path!().and(warp::fs::file("../client-web/public/start.html")); let assets = warp::path("_assets").and(warp::fs::dir("../client-web/public/assets")); - let routes = warp::get() - .and(assets.or(app).or(index).or(signaling)) + let routes = assets + .or(app) + .or(index) + .or(signaling) .recover(handle_rejection) .with(warp::log("stuff")); |