aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/installer.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-16 11:08:25 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commitefc32059d980c51793e8e9ac0fb6a885a8026f94 (patch)
treec272e63fd57a9625b53dc26ceb1b46aee35d21d3 /server/initializers/installer.ts
parentd846501818c2d29e66e6fd141789cb04fd55a437 (diff)
downloadPeerTube-efc32059d980c51793e8e9ac0fb6a885a8026f94.tar.gz
PeerTube-efc32059d980c51793e8e9ac0fb6a885a8026f94.tar.zst
PeerTube-efc32059d980c51793e8e9ac0fb6a885a8026f94.zip
Send server announce when users upload a video
Diffstat (limited to 'server/initializers/installer.ts')
-rw-r--r--server/initializers/installer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/installer.ts b/server/initializers/installer.ts
index c3521a9e4..3f4c4dfbb 100644
--- a/server/initializers/installer.ts
+++ b/server/initializers/installer.ts
@@ -13,9 +13,9 @@ async function installApplication () {
13 await db.sequelize.sync() 13 await db.sequelize.sync()
14 await removeCacheDirectories() 14 await removeCacheDirectories()
15 await createDirectoriesIfNotExist() 15 await createDirectoriesIfNotExist()
16 await createApplicationIfNotExist()
16 await createOAuthClientIfNotExist() 17 await createOAuthClientIfNotExist()
17 await createOAuthAdminIfNotExist() 18 await createOAuthAdminIfNotExist()
18 await createApplicationIfNotExist()
19 } catch (err) { 19 } catch (err) {
20 logger.error('Cannot install application.', err) 20 logger.error('Cannot install application.', err)
21 throw err 21 throw err