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()