aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/client.ts9
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
37clientsRouter.use('/videos/embed', ...embedMiddlewares) 37clientsRouter.use('/videos/embed', ...embedMiddlewares)
38clientsRouter.use('/video-playlists/embed', ...embedMiddlewares) 38clientsRouter.use('/video-playlists/embed', ...embedMiddlewares)
39clientsRouter.use( 39
40 '/videos/test-embed', 40const testEmbedController = (req: express.Request, res: express.Response) => res.sendFile(testEmbedPath)
41 (req: express.Request, res: express.Response) => res.sendFile(testEmbedPath) 41
42) 42clientsRouter.use('/videos/test-embed', testEmbedController)
43clientsRouter.use('/video-playlists/test-embed', testEmbedController)
43 44
44// Static HTML/CSS/JS client files 45// Static HTML/CSS/JS client files
45const staticClientFiles = [ 46const staticClientFiles = [