Compare commits
No commits in common. "6a7918d081af3716748b0a7b94eff16a6ea0b887" and "7961165e1f491431dd4f500c4772dba84b7d34db" have entirely different histories.
6a7918d081
...
7961165e1f
@ -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.4nkweb.com')) {
|
if (window.location.href.startsWith('http://local.lecoffreio.4nkweb')) {
|
||||||
window.location.href = window.location.href.replace('http://local.4nkweb.com:3000/authorized-client', 'http://localhost:3000/authorized-client');
|
window.location.href = window.location.href.replace('http://local.lecoffreio.4nkweb:3000/authorized-client', 'http://localhost:3000/authorized-client');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user