summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-06-16 20:38:55 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-06-16 20:38:55 -0400
commit44334fc3852eb832280a335f72e6416c93a9f19f (patch)
tree4a97b6064a97c4ad58c07d89050ad8a11e7a4f70 /server
parentbetter map bg renderer (diff)
downloadtuxman-44334fc3852eb832280a335f72e6416c93a9f19f.tar.gz
tuxman-44334fc3852eb832280a335f72e6416c93a9f19f.tar.bz2
tuxman-44334fc3852eb832280a335f72e6416c93a9f19f.zip
ts
Diffstat (limited to '')
-rw-r--r--server/Cargo.lock (renamed from Cargo.lock)0
-rw-r--r--server/Cargo.toml (renamed from Cargo.toml)0
-rw-r--r--server/src/main.rs (renamed from src/main.rs)0
-rw-r--r--server/src/room/handle.rs (renamed from src/room/handle.rs)0
-rw-r--r--server/src/room/messages.rs (renamed from src/room/messages.rs)0
-rw-r--r--server/src/room/mod.rs (renamed from src/room/mod.rs)0
-rw-r--r--server/src/room/websocket.rs (renamed from src/room/websocket.rs)0
-rw-r--r--server/src/rooms.rs (renamed from src/rooms.rs)0
-rw-r--r--server/src/routes.rs (renamed from src/routes.rs)2
9 files changed, 1 insertions, 1 deletions
diff --git a/Cargo.lock b/server/Cargo.lock
index 6b0a690..6b0a690 100644
--- a/Cargo.lock
+++ b/server/Cargo.lock
diff --git a/Cargo.toml b/server/Cargo.toml
index 98ffd29..98ffd29 100644
--- a/Cargo.toml
+++ b/server/Cargo.toml
diff --git a/src/main.rs b/server/src/main.rs
index 34783ac..34783ac 100644
--- a/src/main.rs
+++ b/server/src/main.rs
diff --git a/src/room/handle.rs b/server/src/room/handle.rs
index d397c70..d397c70 100644
--- a/src/room/handle.rs
+++ b/server/src/room/handle.rs
diff --git a/src/room/messages.rs b/server/src/room/messages.rs
index 72958a6..72958a6 100644
--- a/src/room/messages.rs
+++ b/server/src/room/messages.rs
diff --git a/src/room/mod.rs b/server/src/room/mod.rs
index 8b3d8c2..8b3d8c2 100644
--- a/src/room/mod.rs
+++ b/server/src/room/mod.rs
diff --git a/src/room/websocket.rs b/server/src/room/websocket.rs
index 50a4537..50a4537 100644
--- a/src/room/websocket.rs
+++ b/server/src/room/websocket.rs
diff --git a/src/rooms.rs b/server/src/rooms.rs
index c8199d1..c8199d1 100644
--- a/src/rooms.rs
+++ b/server/src/rooms.rs
diff --git a/src/routes.rs b/server/src/routes.rs
index 1fa16c7..a8c96a3 100644
--- a/src/routes.rs
+++ b/server/src/routes.rs
@@ -16,7 +16,7 @@ pub fn routes() -> Router {
.route("/api/check", get(|| async {"ok"}))
.route("/api/exists/:code", get(game_exists))
.route("/api/join/:code", get(game_join))
- .nest_service("/", ServeDir::new("client"))
+ .nest_service("/", ServeDir::new("../client"))
.layer(Extension(room_server))
}