diff options
author | Chocobozzz <me@florianbigard.com> | 2022-01-20 09:33:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-01-20 09:33:49 +0100 |
commit | 4abc7b053ae6f3f5499c27a71d464f7f389711e9 (patch) | |
tree | e4ab069d44000978876459a0a75c518140462b61 /server/helpers | |
parent | d511df28906f84c7d25ecb24e41515ed549ff276 (diff) | |
download | PeerTube-4abc7b053ae6f3f5499c27a71d464f7f389711e9.tar.gz PeerTube-4abc7b053ae6f3f5499c27a71d464f7f389711e9.tar.zst PeerTube-4abc7b053ae6f3f5499c27a71d464f7f389711e9.zip |
Fix peertube tools auth
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/core-utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
153 | } | 153 | } |
154 | 154 | ||
155 | function getAppNumber () { | 155 | function getAppNumber () { |
156 | return process.env.NODE_APP_INSTANCE | 156 | return process.env.NODE_APP_INSTANCE || '' |
157 | } | 157 | } |
158 | 158 | ||
159 | // --------------------------------------------------------------------------- | 159 | // --------------------------------------------------------------------------- |