mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Docker fixes
This commit is contained in:
parent
e561cc871b
commit
25963566ca
2 changed files with 8 additions and 6 deletions
|
@ -24,8 +24,8 @@ console.log('Current working directory: ' + process.cwd())
|
|||
const startHTTPS = true
|
||||
const isRoot = process.getuid && process.getuid() === 0
|
||||
|
||||
const port = isRoot ? 80 : 8080
|
||||
const httpsport = isRoot ? 443 : 5001
|
||||
const port = 8080
|
||||
const httpsport = 5001
|
||||
|
||||
// import os from 'os'
|
||||
// os.setPriority(10)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue