]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/e2e/src/utils/server.ts
Translated using Weblate (Vietnamese)
[github/Chocobozzz/PeerTube.git] / client / e2e / src / utils / server.ts
index 7089a5c9cdd127d8a791333f62a4b34cbd194000..227f4aea67ff90100277ac74c678d7a2e35fac39 100644 (file)
@@ -1,10 +1,10 @@
 import { exec, spawn } from 'child_process'
 import { join, resolve } from 'path'
 
-function runServer (appInstance: string, config: any = {}) {
+function runServer (appInstance: number, config: any = {}) {
   const env = Object.create(process.env)
   env['NODE_ENV'] = 'test'
-  env['NODE_APP_INSTANCE'] = appInstance
+  env['NODE_APP_INSTANCE'] = appInstance + ''
 
   env['NODE_CONFIG'] = JSON.stringify({
     rates_limit: {
@@ -18,10 +18,10 @@ function runServer (appInstance: string, config: any = {}) {
     log: {
       level: 'warn'
     },
-    signup: {
+    transcoding: {
       enabled: false
     },
-    transcoding: {
+    video_studio: {
       enabled: false
     },