From 6a7918d081af3716748b0a7b94eff16a6ea0b887 Mon Sep 17 00:00:00 2001 From: omaroughriss Date: Fri, 12 Sep 2025 09:57:17 +0200 Subject: [PATCH] Update remplaced url --- src/front/Components/Layouts/LoginCallback/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/front/Components/Layouts/LoginCallback/index.tsx b/src/front/Components/Layouts/LoginCallback/index.tsx index fff5c755..2a22401f 100644 --- a/src/front/Components/Layouts/LoginCallback/index.tsx +++ b/src/front/Components/Layouts/LoginCallback/index.tsx @@ -68,8 +68,8 @@ export default function LoginCallBack() { // TODO: review // HACK: If start with http://local.lecoffreio.4nkweb:3000/authorized-client // Replace with http://localhost:3000/authorized-client - if (window.location.href.startsWith('http://local.lecoffreio.4nkweb')) { - window.location.href = window.location.href.replace('http://local.lecoffreio.4nkweb:3000/authorized-client', 'http://localhost:3000/authorized-client'); + if (window.location.href.startsWith('http://local.4nkweb.com')) { + window.location.href = window.location.href.replace('http://local.4nkweb.com:3000/authorized-client', 'http://localhost:3000/authorized-client'); return; }