Update remplaced url
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 3m56s

This commit is contained in:
omaroughriss 2025-09-12 09:57:17 +02:00
parent b6899cbf3f
commit 6a7918d081

View File

@ -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;
}