backend: Remove meet/livekit/webhook route for cleaner API structure
This commit is contained in:
parent
702552915f
commit
318fecf962
@ -53,8 +53,8 @@ const createApp = () => {
|
|||||||
app.use(`${MEET_INTERNAL_API_BASE_PATH_V1}/recordings`, internalRecordingRouter);
|
app.use(`${MEET_INTERNAL_API_BASE_PATH_V1}/recordings`, internalRecordingRouter);
|
||||||
app.use('/meet/health', (_req: Request, res: Response) => res.status(200).send('OK'));
|
app.use('/meet/health', (_req: Request, res: Response) => res.status(200).send('OK'));
|
||||||
|
|
||||||
|
// LiveKit Webhook route
|
||||||
app.use('/livekit/webhook', livekitWebhookRouter);
|
app.use('/livekit/webhook', livekitWebhookRouter);
|
||||||
app.use('/meet/livekit/webhook', livekitWebhookRouter);
|
|
||||||
// Serve OpenVidu Meet webcomponent bundle file
|
// Serve OpenVidu Meet webcomponent bundle file
|
||||||
app.get('/meet/v1/openvidu-meet.js', (_req: Request, res: Response) => res.sendFile(webcomponentBundlePath));
|
app.get('/meet/v1/openvidu-meet.js', (_req: Request, res: Response) => res.sendFile(webcomponentBundlePath));
|
||||||
// Serve OpenVidu Meet index.html file for all non-API routes
|
// Serve OpenVidu Meet index.html file for all non-API routes
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user