From 20146df217391096e120eedb29b79598121f95d4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 27 Nov 2019 11:38:40 +0100 Subject: Fix update host --- scripts/update-host.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/update-host.ts') 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 @@ import { registerTSPaths } from '../server/helpers/register-ts-paths' +registerTSPaths() + import { WEBSERVER } from '../server/initializers/constants' import { ActorFollowModel } from '../server/models/activitypub/actor-follow' 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 { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' -registerTSPaths() - run() .then(() => process.exit(0)) .catch(err => { -- cgit v1.2.3