feat(DevWeb): Change redirection on login submit

This commit is contained in:
Lucàs
2024-04-23 15:21:27 +02:00
parent 8e4624c6de
commit 31a731e247
@@ -48,7 +48,7 @@
.then(data => {
if (data.code !== 200) throw new Error(data.message);
})
.then(() => window.location.href = "${pageContext.request.contextPath}/main-menu")
.then(() => window.location.href = "${pageContext.request.contextPath}/lobby")
.catch((error) => {
console.log(error)