]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/core-utils.ts
Fix peertube tools auth
[github/Chocobozzz/PeerTube.git] / server / helpers / core-utils.ts
index 531ccfba958f05eeb503207795292d8defaf439c..0ec45eb2e276833d115f5bfabfc35f6712511835 100644 (file)
@@ -153,7 +153,7 @@ function isProdInstance () {
 }
 
 function getAppNumber () {
-  return process.env.NODE_APP_INSTANCE
+  return process.env.NODE_APP_INSTANCE || ''
 }
 
 // ---------------------------------------------------------------------------