Use typescript paths in cli scripts too
[oweals/peertube.git] / scripts / update-host.ts
index 57919b9981a4f40bf27b48bb541d1738466aa0e1..a946d2e4229523a4f5278d6999ef8e8500588a98 100755 (executable)
@@ -1,3 +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'