A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(app): remove dummy endpoint hack
Hampus Kraft5b8ceff991cb
diff --git a/fluxer_app/src/Endpoints.tsx b/fluxer_app/src/Endpoints.tsxindex b357a1eb5..b78d430df 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',