Fix update host

pull/2293/head
Chocobozzz 2019-11-27 11:38:40 +01:00
parent aedf50d142
commit 20146df217
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,6 @@
import { registerTSPaths } from '../server/helpers/register-ts-paths' import { registerTSPaths } from '../server/helpers/register-ts-paths'
registerTSPaths()
import { WEBSERVER } from '../server/initializers/constants' import { WEBSERVER } from '../server/initializers/constants'
import { ActorFollowModel } from '../server/models/activitypub/actor-follow' import { ActorFollowModel } from '../server/models/activitypub/actor-follow'
import { VideoModel } from '../server/models/video/video' import { VideoModel } from '../server/models/video/video'
@ -19,8 +21,6 @@ import { VideoStreamingPlaylistModel } from '../server/models/video/video-stream
import { initDatabaseModels } from '../server/initializers' import { initDatabaseModels } from '../server/initializers'
import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent'
registerTSPaths()
run() run()
.then(() => process.exit(0)) .then(() => process.exit(0))
.catch(err => { .catch(err => {