diff options
Diffstat (limited to 'server.js')
-rw-r--r-- | server.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -89,6 +89,9 @@ const thumbnailsPhysicalPath = constants.CONFIG.STORAGE.THUMBNAILS_DIR | |||
89 | app.use(constants.STATIC_PATHS.THUMBNAILS, express.static(thumbnailsPhysicalPath, { maxAge: constants.STATIC_MAX_AGE })) | 89 | app.use(constants.STATIC_PATHS.THUMBNAILS, express.static(thumbnailsPhysicalPath, { maxAge: constants.STATIC_MAX_AGE })) |
90 | 90 | ||
91 | // Client application | 91 | // Client application |
92 | app.use('/videos/embed', function (req, res, next) { | ||
93 | res.sendFile(path.join(__dirname, 'client/dist/standalone/videos/embed.html')) | ||
94 | }) | ||
92 | app.use('/*', function (req, res, next) { | 95 | app.use('/*', function (req, res, next) { |
93 | res.sendFile(path.join(__dirname, 'client/dist/index.html')) | 96 | res.sendFile(path.join(__dirname, 'client/dist/index.html')) |
94 | }) | 97 | }) |