X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fcore-utils.ts;h=0ec45eb2e276833d115f5bfabfc35f6712511835;hb=3cb60ca19eba97738342a10e15d5e5a916e2e690;hp=531ccfba958f05eeb503207795292d8defaf439c;hpb=06aad80165d09a8863ab8103149a8ff518b10641;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/core-utils.ts b/server/helpers/core-utils.ts index 531ccfba9..0ec45eb2e 100644 --- a/server/helpers/core-utils.ts +++ b/server/helpers/core-utils.ts @@ -153,7 +153,7 @@ function isProdInstance () { } function getAppNumber () { - return process.env.NODE_APP_INSTANCE + return process.env.NODE_APP_INSTANCE || '' } // ---------------------------------------------------------------------------