![Mewp](/assets/img/avatar_default.png)
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.
5 lines
216 B
TypeScript
5 lines
216 B
TypeScript
// lib/server.ts
|
|
import App from "./src/App";
|
|
import { PUSHER_HTTP_PORT } from "./src/Enum/EnvironmentVariable";
|
|
App.listen(PUSHER_HTTP_PORT, () => console.log(`WorkAdventure starting on port ${PUSHER_HTTP_PORT}!`))
|