Compare commits

...

7 Commits

Author SHA1 Message Date
omaroughriss
6a7918d081 Update remplaced url
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 3m56s
2025-09-12 09:57:17 +02:00
omaroughriss
b6899cbf3f Merge branch 'dev' of https://git.4nkweb.com/4nk/lecoffre-front into dev 2025-09-12 09:49:21 +02:00
omaroughriss
87bc0290d7 Merge branch 'dev' of https://git.4nkweb.com/4nk/lecoffre-front into dev 2025-09-11 13:38:24 +02:00
omaroughriss
068532d8be Set callbackurl to local.lecoffreio.4nkweb
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 3m53s
2025-09-11 10:13:41 +02:00
omaroughriss
19fca09d0f Merge branch 'dev' of https://git.4nkweb.com/4nk/lecoffre-front into dev 2025-09-11 10:11:55 +02:00
Sosthene
0986d60974 Set callbackurl to 127.0.0.1:3000
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 3m54s
2025-09-10 15:58:57 +02:00
9589cf1116 Merge pull request 'Fix some issues' (#17) from ajanin into dev
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 3m56s
Reviewed-on: #17
2025-08-04 15:56:01 +00:00

View File

@ -68,8 +68,8 @@ export default function LoginCallBack() {
// TODO: review // TODO: review
// HACK: If start with http://local.lecoffreio.4nkweb:3000/authorized-client // HACK: If start with http://local.lecoffreio.4nkweb:3000/authorized-client
// Replace with http://localhost:3000/authorized-client // Replace with http://localhost:3000/authorized-client
if (window.location.href.startsWith('http://local.lecoffreio.4nkweb')) { if (window.location.href.startsWith('http://local.4nkweb.com')) {
window.location.href = window.location.href.replace('http://local.lecoffreio.4nkweb:3000/authorized-client', 'http://localhost:3000/authorized-client'); window.location.href = window.location.href.replace('http://local.4nkweb.com:3000/authorized-client', 'http://localhost:3000/authorized-client');
return; return;
} }