aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-28 16:03:39 +0100
committerChocobozzz <me@florianbigard.com>2020-02-28 16:21:34 +0100
commitbdd428a6d9138d751f8cde82867022a93f1a76cc (patch)
treec2b671c3d6a34daddd20e30656f573cf59905f13 /server/initializers/config.ts
parent9d94e5d7b96332d628ed835c67c2986289ead9b2 (diff)
downloadPeerTube-bdd428a6d9138d751f8cde82867022a93f1a76cc.tar.gz
PeerTube-bdd428a6d9138d751f8cde82867022a93f1a76cc.tar.zst
PeerTube-bdd428a6d9138d751f8cde82867022a93f1a76cc.zip
Update dependencies
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 950ca61bd..3c07624e8 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -335,7 +335,7 @@ export function reloadConfig () {
335 335
336 function purge () { 336 function purge () {
337 for (const fileName in require.cache) { 337 for (const fileName in require.cache) {
338 if (fileName.indexOf(directory()) === -1) { 338 if (fileName.includes(directory()) === false) {
339 continue 339 continue
340 } 340 }
341 341