fix(app): remove dummy endpoint hack

This commit is contained in:
Hampus Kraft committed 2026-02-21 16:57:09 +00:00
1 parent 575d50807a
commit 5b8ceff991
1 file changed
+2 -3
+2 -3
View File
@@ -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',