From b3d92510157f9066ea7fa82c303bea7a10eb55b6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 21 Oct 2016 11:33:31 +0200 Subject: Server: Uploads -> Videos --- server.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server.js') diff --git a/server.js b/server.js index e90ed5c25..b2d9be9aa 100644 --- a/server.js +++ b/server.js @@ -77,9 +77,9 @@ app.use('/client/*', function (req, res, next) { const torrentsPhysicalPath = path.join(__dirname, config.get('storage.torrents')) app.use(constants.STATIC_PATHS.TORRENTS, cors(), express.static(torrentsPhysicalPath, { maxAge: 0 })) -// Uploads path for webseeding -const uploadsPhysicalPath = path.join(__dirname, config.get('storage.uploads')) -app.use(constants.STATIC_PATHS.WEBSEED, cors(), express.static(uploadsPhysicalPath, { maxAge: 0 })) +// Videos path for webseeding +const videosPhysicalPath = path.join(__dirname, config.get('storage.videos')) +app.use(constants.STATIC_PATHS.WEBSEED, cors(), express.static(videosPhysicalPath, { maxAge: 0 })) // Thumbnails path for express const thumbnailsPhysicalPath = path.join(__dirname, config.get('storage.thumbnails')) -- cgit v1.2.3