X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fwebtorrent.ts;h=14dfe0d28c2bc89a182069b7c35a667841519fdb;hb=e1a1f9c623bfbbc7e38b36047926338f2e1c61d9;hp=3c9a0b96ae87b21d942da729634c1e4250b4766a;hpb=88108880bbdba473cfe36ecbebc1c3c4f972e102;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/webtorrent.ts b/server/helpers/webtorrent.ts index 3c9a0b96a..14dfe0d28 100644 --- a/server/helpers/webtorrent.ts +++ b/server/helpers/webtorrent.ts @@ -2,7 +2,7 @@ import { logger } from './logger' import { generateVideoImportTmpPath } from './utils' import * as WebTorrent from 'webtorrent' import { createWriteStream, ensureDir, remove } from 'fs-extra' -import { CONFIG } from '../initializers' +import { CONFIG } from '../initializers/config' import { dirname, join } from 'path' async function downloadWebTorrentVideo (target: { magnetUri: string, torrentName?: string }, timeout: number) {