From ec511eb2572cd83f6a7f1b2a023e0187c3a03759 Mon Sep 17 00:00:00 2001 From: Kiti Suupohja Date: Tue, 8 Oct 2024 15:09:27 +0300 Subject: [PATCH] fix: Use relative redirect url instead of absolute --- frontend/src/components/Login.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Login.tsx b/frontend/src/components/Login.tsx index ea2c925..f638784 100644 --- a/frontend/src/components/Login.tsx +++ b/frontend/src/components/Login.tsx @@ -3,7 +3,7 @@ import { Callbacks, Products } from "@stytch/vanilla-js" import { Container } from "@radix-ui/themes" const Login = () => { - const REDIRECT_URL = "http://localhost:5173/dashboard" + const REDIRECT_URL = "/dashboard" const config = { products: [Products.passwords], passwordOptions: {