Merge branch 'master' of gitlab.com:MrFry/mrfrys-node-server

This commit is contained in:
mrfry 2021-10-06 19:14:13 +02:00
commit c13035a8df
6 changed files with 175 additions and 154 deletions

View file

@ -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)