diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-27 11:38:40 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-27 11:38:40 +0100 |
commit | 20146df217391096e120eedb29b79598121f95d4 (patch) | |
tree | d2a50ec344430ddf566b64defcda17c90ed746c8 | |
parent | aedf50d142c8dce94aba6ad118b242fb826660a4 (diff) | |
download | PeerTube-20146df217391096e120eedb29b79598121f95d4.tar.gz PeerTube-20146df217391096e120eedb29b79598121f95d4.tar.zst PeerTube-20146df217391096e120eedb29b79598121f95d4.zip |
Fix update host
-rwxr-xr-x | scripts/update-host.ts | 4 |
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 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | 1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' |
2 | registerTSPaths() | ||
3 | |||
2 | import { WEBSERVER } from '../server/initializers/constants' | 4 | import { WEBSERVER } from '../server/initializers/constants' |
3 | import { ActorFollowModel } from '../server/models/activitypub/actor-follow' | 5 | import { ActorFollowModel } from '../server/models/activitypub/actor-follow' |
4 | import { VideoModel } from '../server/models/video/video' | 6 | import { VideoModel } from '../server/models/video/video' |
@@ -19,8 +21,6 @@ import { VideoStreamingPlaylistModel } from '../server/models/video/video-stream | |||
19 | import { initDatabaseModels } from '../server/initializers' | 21 | import { initDatabaseModels } from '../server/initializers' |
20 | import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' | 22 | import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' |
21 | 23 | ||
22 | registerTSPaths() | ||
23 | |||
24 | run() | 24 | run() |
25 | .then(() => process.exit(0)) | 25 | .then(() => process.exit(0)) |
26 | .catch(err => { | 26 | .catch(err => { |