mirror of
https://github.com/litruv/API-WebSocket-Bridge.git
synced 2026-07-24 02:36:03 +10:00
revised readme, moved some stuff around
This commit is contained in:
31
config/config.json
Normal file
31
config/config.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"certPath": "/app/cert/fullchain.pem",
|
||||
"keyPath": "/app/cert/privkey.pem",
|
||||
"port": 8080,
|
||||
"updateInterval": 5000,
|
||||
"apiUrl": "https://www.saltybet.com/state.json",
|
||||
|
||||
"events": {
|
||||
"teamNamesChange": {
|
||||
"emitEvent": "teamNamesChange",
|
||||
"params": ["p1name", "p2name"]
|
||||
},
|
||||
"betAmountChange": {
|
||||
"emitEvent": "betAmountChange",
|
||||
"params": ["p1total", "p2total"]
|
||||
},
|
||||
"statusChange": {
|
||||
"emitEvent": "statusChange",
|
||||
"params": ["status"]
|
||||
},
|
||||
"alertChange": {
|
||||
"emitEvent": "alertChange",
|
||||
"params": ["alert"]
|
||||
},
|
||||
"remainingChange": {
|
||||
"emitEvent": "remainingChange",
|
||||
"params": ["remaining"]
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user