summaryrefslogtreecommitdiff
path: root/server/src
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-09-05 21:44:37 -0600
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-09-05 21:44:37 -0600
commitd19da30f6dbf316bf89355b9b840a6d77e5435ec (patch)
tree1c4e406683f197c019edbfa249741798aac1b5b4 /server/src
parentba989bd7f86f823e062cfce7437d89495ef527c6 (diff)
downloadjumpstorm-d19da30f6dbf316bf89355b9b840a6d77e5435ec.tar.gz
jumpstorm-d19da30f6dbf316bf89355b9b840a6d77e5435ec.zip
decrease CSP threshold, move client networking to its own folder
Diffstat (limited to 'server/src')
-rw-r--r--server/src/server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/server.ts b/server/src/server.ts
index f28c80f..251fd89 100644
--- a/server/src/server.ts
+++ b/server/src/server.ts
@@ -38,7 +38,7 @@ export class GameServer {
public serve() {
if (!this.server)
this.server = Bun.serve<SessionData>({
- host: Constants.HOST,
+ hostname: Constants.HOST,
port: Constants.SERVER_PORT,
fetch: (req, srv) => this.fetchHandler(req, srv),
websocket: {