From a4c33584a0f6e245a3a6ab6f84545e3d3ebb3d4e Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Mon, 25 Apr 2022 18:59:14 -0700 Subject: [PATCH] default 127.0.01 --- proxy/proxy.py | 2 +- resources/js/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy/proxy.py b/proxy/proxy.py index fc7cc25..e6bf383 100644 --- a/proxy/proxy.py +++ b/proxy/proxy.py @@ -30,7 +30,7 @@ class MlgmXyysd_Anime_Game_Proxy: loader.add_option( name = "ip", typespec = str, - default = "localhost", + default = "127.0.0.1", help = "IP address to replace", ) diff --git a/resources/js/index.js b/resources/js/index.js index d0042a8..e99068f 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -390,7 +390,7 @@ async function launchOfficial() { * Launch the game with a proxy */ async function launchPrivate() { - const ip = document.getElementById('ip').value || 'localhost' + const ip = document.getElementById('ip').value || '127.0.0.1' const port = document.getElementById('port').value || '443' const config = await getCfg()