aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xscripts/update-host.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update-host.ts b/scripts/update-host.ts
index d9192d554..54b31d786 100755
--- a/scripts/update-host.ts
+++ b/scripts/update-host.ts
@@ -1,4 +1,6 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths' 1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths()
3
2import { WEBSERVER } from '../server/initializers/constants' 4import { WEBSERVER } from '../server/initializers/constants'
3import { ActorFollowModel } from '../server/models/activitypub/actor-follow' 5import { ActorFollowModel } from '../server/models/activitypub/actor-follow'
4import { VideoModel } from '../server/models/video/video' 6import { VideoModel } from '../server/models/video/video'
@@ -19,8 +21,6 @@ import { VideoStreamingPlaylistModel } from '../server/models/video/video-stream
19import { initDatabaseModels } from '../server/initializers' 21import { initDatabaseModels } from '../server/initializers'
20import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' 22import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent'
21 23
22registerTSPaths()
23
24run() 24run()
25 .then(() => process.exit(0)) 25 .then(() => process.exit(0))
26 .catch(err => { 26 .catch(err => {