fix(hrefs): Fixed relative locations

This commit is contained in:
Nicolai Ort 2023-04-19 12:59:52 +02:00
parent 8017f009e4
commit 19c9fa339b
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
2 changed files with 2 additions and 2 deletions

View File

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

View File

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