diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/controllers/client.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index b97c935a5..39a198b59 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -36,10 +36,11 @@ const embedMiddlewares = [ | |||
36 | 36 | ||
37 | clientsRouter.use('/videos/embed', ...embedMiddlewares) | 37 | clientsRouter.use('/videos/embed', ...embedMiddlewares) |
38 | clientsRouter.use('/video-playlists/embed', ...embedMiddlewares) | 38 | clientsRouter.use('/video-playlists/embed', ...embedMiddlewares) |
39 | clientsRouter.use( | 39 | |
40 | '/videos/test-embed', | 40 | const testEmbedController = (req: express.Request, res: express.Response) => res.sendFile(testEmbedPath) |
41 | (req: express.Request, res: express.Response) => res.sendFile(testEmbedPath) | 41 | |
42 | ) | 42 | clientsRouter.use('/videos/test-embed', testEmbedController) |
43 | clientsRouter.use('/video-playlists/test-embed', testEmbedController) | ||
43 | 44 | ||
44 | // Static HTML/CSS/JS client files | 45 | // Static HTML/CSS/JS client files |
45 | const staticClientFiles = [ | 46 | const staticClientFiles = [ |