fix: oauth2 api prefix

This commit is contained in:
Eli Bosley
2025-01-22 17:08:15 -05:00
parent 065211413d
commit 56cfa84794

View File

@@ -47,7 +47,7 @@ onMounted(async () => {
const sessionState = getStateToken();
if (code && state === sessionState) {
const token = await fetch(new URL('/oauth2/token', ACCOUNT), {
const token = await fetch(new URL('/api/oauth2/token', ACCOUNT), {
method: 'POST',
body: new URLSearchParams({
code,