Skip to content

Commit e5af588

Browse files
committed
fix: strip /api/kratos
1 parent 2f9d93c commit e5af588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/api/kratos.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export async function loginIdentifierFirst(
1919
flow?: { id?: string; return_to?: string }
2020
) {
2121
const res = await fetch(
22-
`/api/kratos/self-service/login/id-first?flow=${encodeURIComponent(flowId)}`,
22+
`/self-service/login/id-first?flow=${encodeURIComponent(flowId)}`,
2323
{
2424
method: "POST",
2525
headers: {

0 commit comments

Comments
 (0)