Skip to content

Commit 7a7cff1

Browse files
committed
fix: changed default endpoint to hit frontend instead
[ci skip]
1 parent 4a067b6 commit 7a7cff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auth/CommandLogin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class CommandLogin extends CommandPolykey {
5959
const targetURL = new URL(
6060
url.endsWith('/') ? url.slice(0, url.length) : url,
6161
);
62-
const subPath: string = options.returnURLPath ?? '/api/oauth2/oidc';
62+
const subPath: string = options.returnURLPath ?? '/oauth2/oidc';
6363
targetURL.pathname = subPath.startsWith('/') ? subPath : `/${subPath}`;
6464
targetURL.searchParams.append('token', compactHeader);
6565

0 commit comments

Comments
 (0)