暫時移除前端,維持前後端分離
This commit is contained in:
@@ -14,14 +14,14 @@ document
|
||||
|
||||
function newMember(nickName, playerName, gameUid, discordId) {
|
||||
// 发送登录请求
|
||||
axios.post("./api/member", {
|
||||
axios.post("../api/member", {
|
||||
playerName: playerName,
|
||||
nickName: nickName,
|
||||
discordID: discordId,
|
||||
uid: gameUid
|
||||
})
|
||||
.then(function (response) {
|
||||
window.location.href = "./index.html";
|
||||
window.location.href = "../index.html";
|
||||
})
|
||||
.catch(function (error) {
|
||||
const message = error.response.data.message;
|
||||
|
||||
Reference in New Issue
Block a user