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