Add a PUSHER_HTTP_PORT configuration variable.
Some deployments might not be based on docker, and not on separate hosts. In such cases, it would be useful to be able to configure the port pusher listens on.
This commit is contained in:
parent
284846e8a5
commit
4be009d5a1
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
// lib/server.ts
|
||||
import App from "./src/App";
|
||||
App.listen(8080, () => console.log(`WorkAdventure starting on port 8080!`))
|
||||
import { PUSHER_HTTP_PORT } from "./src/Enum/EnvironmentVariable";
|
||||
App.listen(PUSHER_HTTP_PORT, () => console.log(`WorkAdventure starting on port ${PUSHER_HTTP_PORT}!`))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue