pl-fe: this doesn't actually fix anything

Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
mkljczk
2025-03-16 15:32:21 +01:00
parent 65f0678974
commit d9adda7c5e
2 changed files with 2 additions and 6 deletions

View File

@ -44,9 +44,7 @@ const prepareRequest = (provider: string) =>
const query = queryString.stringify(params);
setTimeout(() => {
location.href = `${baseURL}/oauth/prepare_request?${query.toString()}`;
}, 100);
};
export {

View File

@ -59,9 +59,7 @@ const externalAuthorize = (instance: Instance, baseURL: string) => {
localStorage.setItem('plfe:external:baseurl', baseURL);
localStorage.setItem('plfe:external:scopes', scopes);
setTimeout(() => {
window.location.href = `${baseURL}/oauth/authorize?${query.toString()}`;
}, 100);
});
};