This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-10-25 02:31:51 +08:00
parent ee259880b0
commit 08a486c828
18 changed files with 533 additions and 123 deletions

View File

@@ -23,7 +23,7 @@ class JNGLayer extends JNLayer{
//重写Socket
class JNGSocket extends JNSocket{
public url() {
return "ws://192.168.0.127:8080/websocket";
return "ws://localhost:8080/websocket";
}
}
@@ -96,7 +96,7 @@ export const app = {
event : EventDispatcher.getIns(), //通知
proto : NGameMessage.getIns(), //消息
api : axios.create({
baseURL: "http://192.168.0.127:8080",
baseURL: "http://localhost:8080",
}), //请求
battle : GBattleModeManager.getIns(), //战斗
}