mirror of
https://github.com/kmitresse/Cards-Rush.git
synced 2026-05-16 17:11:48 +00:00
feat(DevWeb): Change redirection on login submit
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user