mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
override default port with runtime args
This commit is contained in:
parent
fe21554210
commit
f606853011
@ -96,7 +96,7 @@ const DEFAULT_HEADERS = {
|
||||
"Access-Control-Allow-Methods": "GET, POST, OPTIONS, PUT, PATCH, DELETE",
|
||||
"Access-Control-Allow-Credentials": "true",
|
||||
}
|
||||
const DEFAULT_PORT = process.parsedArgs.listenPort ?? 1010
|
||||
const DEFAULT_PORT = runtime.args.listenPort ?? 1010
|
||||
|
||||
//* HELPERS
|
||||
function getUptime() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user