diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-06 11:14:13 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-06-29 10:19:05 +0200 |
commit | c37e305342c8655325f9606aa1f4b29abc471b39 (patch) | |
tree | 7d0529c0895c0522de9e77c8ab4d48e502599d2c /shared/server-commands/server/server.ts | |
parent | 881958d17902b1efbb184400d7e5030cfc5b7224 (diff) | |
download | PeerTube-c37e305342c8655325f9606aa1f4b29abc471b39.tar.gz PeerTube-c37e305342c8655325f9606aa1f4b29abc471b39.tar.zst PeerTube-c37e305342c8655325f9606aa1f4b29abc471b39.zip |
Fix CI tests
Diffstat (limited to 'shared/server-commands/server/server.ts')
-rw-r--r-- | shared/server-commands/server/server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/server-commands/server/server.ts b/shared/server-commands/server/server.ts index 6aa4296b0..9a07eb36f 100644 --- a/shared/server-commands/server/server.ts +++ b/shared/server-commands/server/server.ts | |||
@@ -237,7 +237,7 @@ export class PeerTubeServer { | |||
237 | } | 237 | } |
238 | 238 | ||
239 | // Share the environment | 239 | // Share the environment |
240 | const env = Object.create(process.env) | 240 | const env = { ...process.env } |
241 | env['NODE_ENV'] = 'test' | 241 | env['NODE_ENV'] = 'test' |
242 | env['NODE_APP_INSTANCE'] = this.internalServerNumber.toString() | 242 | env['NODE_APP_INSTANCE'] = this.internalServerNumber.toString() |
243 | env['NODE_CONFIG'] = JSON.stringify(configOverride) | 243 | env['NODE_CONFIG'] = JSON.stringify(configOverride) |