Fix:Remove token secret from PPA build

This commit is contained in:
advplyr 2022-09-02 17:54:40 -05:00
parent 97dc9fbccf
commit 7313d151f8

View File

@ -10,7 +10,6 @@ const commandLineArgs = require('./server/libs/commandLineArgs')
const options = commandLineArgs(optionDefinitions)
const Path = require('path')
if (process.env.TOKEN_SECRET == null) process.env.TOKEN_SECRET = '09f26e402586e2faa8da4c98a35f1b20d6b033c6097befa8be3486a829587fe2f90a832bd3ff9d42710a4da095a2ce285b009f0c3730cd9b8e1af3eb84df6611'
process.env.NODE_ENV = 'production'
const server = require('./server/Server')