aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-27 11:38:40 +0100
committerChocobozzz <me@florianbigard.com>2019-11-27 11:38:40 +0100
commit20146df217391096e120eedb29b79598121f95d4 (patch)
treed2a50ec344430ddf566b64defcda17c90ed746c8
parentaedf50d142c8dce94aba6ad118b242fb826660a4 (diff)
downloadPeerTube-20146df217391096e120eedb29b79598121f95d4.tar.gz
PeerTube-20146df217391096e120eedb29b79598121f95d4.tar.zst
PeerTube-20146df217391096e120eedb29b79598121f95d4.zip
Fix update host
-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 => {