aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts6
-rw-r--r--server/initializers/installer.ts2
2 files changed, 4 insertions, 4 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 99da95ab9..dca223370 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -209,9 +209,9 @@ const VIDEO_PRIVACIES = {
209} 209}
210 210
211const VIDEO_MIMETYPE_EXT = { 211const VIDEO_MIMETYPE_EXT = {
212 'video/webm': 'webm', 212 'video/webm': '.webm',
213 'video/ogg': 'ogv', 213 'video/ogg': '.ogv',
214 'video/mp4': 'mp4' 214 'video/mp4': '.mp4'
215} 215}
216 216
217// --------------------------------------------------------------------------- 217// ---------------------------------------------------------------------------
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