mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
fix HTTP_LISTEN_PORT
This commit is contained in:
parent
43605f6552
commit
b441e50d3b
@ -7,7 +7,7 @@ module.exports = {
|
||||
exec_mode: "cluster",
|
||||
env: {
|
||||
"NODE_ENV": "production",
|
||||
"MAIN_LISTEN_PORT": 5000,
|
||||
"HTTP_LISTEN_PORT": 5000,
|
||||
"LOG_REQUESTS": true,
|
||||
},
|
||||
node_args: "-r dotenv/config",
|
||||
|
@ -14,7 +14,7 @@ import internalEvents from "./events"
|
||||
|
||||
export default class API extends Server {
|
||||
static refName = "MAIN-API"
|
||||
static listen_port = 3010
|
||||
static listen_port = process.env.HTTP_LISTEN_PORT || 3010
|
||||
|
||||
static requireWSAuth = true
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user