mirror of
https://gitlab.com/vyla-entertainment/home.git
synced 2026-11-16 15:17:21 -05:00
potentially fixed mac support
This commit is contained in:
@@ -54,6 +54,9 @@ class ServiceManager {
|
||||
|
||||
const env = {
|
||||
...process.env,
|
||||
...(process.platform === 'darwin'
|
||||
? { PATH: [process.env.PATH, '/opt/homebrew/bin', '/usr/local/bin', '/usr/bin', '/bin'].filter(Boolean).join(path.delimiter) }
|
||||
: {}),
|
||||
PORT: (this.envConfig[name] && this.envConfig[name].PORT) || defaultPorts[name] || process.env.PORT || 3000,
|
||||
TOKEN_SECRET: tokenSecret,
|
||||
...(this.envConfig[name] || {}),
|
||||
|
||||
Reference in New Issue
Block a user