fix(app): remove dummy endpoint hack

This commit is contained in:
Hampus Kraft 2026-02-21 15:45:30 +00:00
parent 575d50807a
commit 5b8ceff991
No known key found for this signature in database
GPG Key ID: 6090864C465A454D

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',