X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fcontrollers%2Ftracker.ts;h=912f82b869efefdca5c0a19139152c93b1f74e23;hb=a41b9da1a9ce49df82ea10c82de4c2fbc6d1b189;hp=56a3424a37096b8d44248aa21890dc179de3500d;hpb=31b6ddf86652502e0c96d77fa10861ce4af11aa4;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts index 56a3424a3..912f82b86 100644 --- a/server/controllers/tracker.ts +++ b/server/controllers/tracker.ts @@ -4,10 +4,11 @@ import * as http from 'http' import * as bitTorrentTracker from 'bittorrent-tracker' import * as proxyAddr from 'proxy-addr' import { Server as WebSocketServer } from 'ws' -import { CONFIG, TRACKER_RATE_LIMITS } from '../initializers/constants' +import { TRACKER_RATE_LIMITS } from '../initializers/constants' import { VideoFileModel } from '../models/video/video-file' import { parse } from 'url' import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist' +import { CONFIG } from '../initializers/config' const TrackerServer = bitTorrentTracker.Server