diff options
author | metamuffin <metamuffin@disroot.org> | 2025-02-06 16:52:46 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-02-06 16:52:46 +0100 |
commit | 0ce64a50b763d2b19f5ca254233370418f4b7658 (patch) | |
tree | fe1587d38c77180b0c7fa4911d416605e5d6c6e3 /server/src/routes/playersync.rs | |
parent | 87ebdede17007b626b1275c66dde1e5aefd6cddc (diff) | |
download | jellything-0ce64a50b763d2b19f5ca254233370418f4b7658.tar jellything-0ce64a50b763d2b19f5ca254233370418f4b7658.tar.bz2 jellything-0ce64a50b763d2b19f5ca254233370418f4b7658.tar.zst |
add json capability to most useful endpoints
Diffstat (limited to 'server/src/routes/playersync.rs')
-rw-r--r-- | server/src/routes/playersync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/routes/playersync.rs b/server/src/routes/playersync.rs index 1ef9d73..9eb6175 100644 --- a/server/src/routes/playersync.rs +++ b/server/src/routes/playersync.rs @@ -23,7 +23,7 @@ pub enum Packet { } #[get("/playersync/<channel>")] -pub fn r_streamsync( +pub fn r_playersync( ws: WebSocket, state: &State<PlayersyncChannels>, channel: &str, |