fix(hrefs): Fixed relative locations
This commit is contained in:
parent
8017f009e4
commit
19c9fa339b
@ -14,7 +14,7 @@
|
|||||||
})) as import('@odit/lfk-client-js').ResponseAuth;
|
})) as import('@odit/lfk-client-js').ResponseAuth;
|
||||||
loginError=false;
|
loginError=false;
|
||||||
await userstore.login(auth);
|
await userstore.login(auth);
|
||||||
location.replace('../registration');
|
location.replace('./registration');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
loginError = true;
|
loginError = true;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(error);
|
console.log(error);
|
||||||
userstore.logout();
|
userstore.logout();
|
||||||
location.replace(`../login`);
|
location.replace(`./login`);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user