This commit is contained in:
2026-06-15 22:46:12 +08:00
commit f6508eccdb
38 changed files with 3133 additions and 0 deletions

30
config/server.local.json Normal file
View File

@@ -0,0 +1,30 @@
{
"http": {
"addr": ":8080",
"allowedOrigins": ["*"]
},
"redis": {
"addr": "localhost:6379",
"password": "",
"db": 0
},
"room": {
"codeLength": 6,
"emptyTtl": "30m",
"ownerReconnectHold": "30s"
},
"proxy": {
"enabled": true,
"requestTimeout": "0s",
"maxIdleConns": 256,
"responseHeaderBytes": 1048576
},
"websocket": {
"pingInterval": "25s",
"pongTimeout": "60s",
"writeTimeout": "10s"
},
"source": {
"defaultMode": "direct"
}
}