diff --git a/src/backend/server/jellyfinRoutes.ts b/src/backend/server/jellyfinRoutes.ts index da383777..6a580b05 100644 --- a/src/backend/server/jellyfinRoutes.ts +++ b/src/backend/server/jellyfinRoutes.ts @@ -12,7 +12,7 @@ export const setupJellyfinRoutes = (app: ExpressWithAsync, logger: Logger, scrob const jellyfinJsonParser = bodyParser.json({type: 'text/*'}); const jellyIngress = new JellyfinNotifier(); app.postAsync('/jellyfin', async function(req, res) { - res.redirect(307, 'api/jellyfin/ingress'); + res.redirect(307, '/api/jellyfin/ingress'); }); app.postAsync('/api/jellyfin/ingress', async function (req, res, next) { diff --git a/src/backend/server/plexRoutes.ts b/src/backend/server/plexRoutes.ts index f16590e7..417bd848 100644 --- a/src/backend/server/plexRoutes.ts +++ b/src/backend/server/plexRoutes.ts @@ -37,7 +37,7 @@ export const setupPlexRoutes = (app: ExpressWithAsync, logger: Logger, scrobbleS res.send('OK'); }; app.postAsync('/plex', async function (req, res) { - res.redirect(307, 'api/plex/ingress'); + res.redirect(307, '/api/plex/ingress'); }); app.postAsync('/api/plex/ingress', plexIngressMiddle, plexMiddle, plexIngressRoute); } diff --git a/src/backend/server/tautulliRoutes.ts b/src/backend/server/tautulliRoutes.ts index a3865cb1..bb1d4e3c 100644 --- a/src/backend/server/tautulliRoutes.ts +++ b/src/backend/server/tautulliRoutes.ts @@ -44,7 +44,7 @@ export const setupTautulliRoutes = (app: ExpressWithAsync, logger: Logger, scrob }; app.postAsync('/tautulli', async function(req, res) { - res.redirect(307, 'api/plex/tautulli'); + res.redirect(307, '/api/tautulli/ingress'); }); app.postAsync('/api/tautulli/ingress', tautulliIngressRoute); }