Update remplaced url
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 3m56s
All checks were successful
Build and Push to Registry / build-and-push (push) Successful in 3m56s
This commit is contained in:
parent
b6899cbf3f
commit
6a7918d081
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user