diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/server-commands/server/server.ts | 2 | ||||
-rw-r--r-- | shared/server-commands/videos/video-studio-command.ts | 2 |
2 files changed, 2 insertions, 2 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) |
diff --git a/shared/server-commands/videos/video-studio-command.ts b/shared/server-commands/videos/video-studio-command.ts index 9fe467cc2..675cd84b7 100644 --- a/shared/server-commands/videos/video-studio-command.ts +++ b/shared/server-commands/videos/video-studio-command.ts | |||
@@ -25,7 +25,7 @@ export class VideoStudioCommand extends AbstractCommand { | |||
25 | { | 25 | { |
26 | name: 'add-watermark', | 26 | name: 'add-watermark', |
27 | options: { | 27 | options: { |
28 | file: 'thumbnail.png' | 28 | file: 'custom-thumbnail.png' |
29 | } | 29 | } |
30 | }, | 30 | }, |
31 | 31 | ||