From 5b8ceff991cb715631540474ba1f487d42dbe48a Mon Sep 17 00:00:00 2001 From: Hampus Kraft Date: Sat, 21 Feb 2026 15:45:30 +0000 Subject: [PATCH] fix(app): remove dummy endpoint hack --- fluxer_app/src/Endpoints.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fluxer_app/src/Endpoints.tsx b/fluxer_app/src/Endpoints.tsx index b357a1eb..b78d430d 100644 --- a/fluxer_app/src/Endpoints.tsx +++ b/fluxer_app/src/Endpoints.tsx @@ -47,9 +47,8 @@ export const Endpoints = { AUTH_AUTHORIZE_IP: '/auth/authorize-ip', AUTH_IP_AUTHORIZATION_RESEND: '/auth/ip-authorization/resend', AUTH_IP_AUTHORIZATION_POLL: (ticket: string) => { - const url = new URL('https://fluxer.invalid/auth/ip-authorization/poll'); - url.searchParams.set('ticket', ticket); - return `${url.pathname}${url.search}`; + const params = new URLSearchParams({ticket}); + return `/auth/ip-authorization/poll?${params}`; }, AUTH_SSO_START: '/auth/sso/start', AUTH_SSO_COMPLETE: '/auth/sso/complete',