Skip to content

Commit ec00add

Browse files
committed
fix: oauth2 api prefix
1 parent 3fe281f commit ec00add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/components/SsoButton.ce.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ onMounted(async () => {
4747
const sessionState = getStateToken();
4848
4949
if (code && state === sessionState) {
50-
const token = await fetch(new URL('/oauth2/token', ACCOUNT), {
50+
const token = await fetch(new URL('/api/oauth2/token', ACCOUNT), {
5151
method: 'POST',
5252
body: new URLSearchParams({
5353
code,

0 commit comments

Comments
 (0)