From 0f98d90da906f56b5c97ebe069b14687a19d21e1 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Sun, 1 May 2022 16:52:48 -0700 Subject: [PATCH] more 443 defaults --- proxy/proxy.py | 2 +- resources/js/index.js | 2 +- resources/js/options.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/proxy/proxy.py b/proxy/proxy.py index e6bf383..50da319 100644 --- a/proxy/proxy.py +++ b/proxy/proxy.py @@ -37,7 +37,7 @@ class MlgmXyysd_Anime_Game_Proxy: loader.add_option( name = "port", typespec = int, - default = 80, + default = 443, help = "Port to replace", ) diff --git a/resources/js/index.js b/resources/js/index.js index 3070a54..0a4e2ce 100644 --- a/resources/js/index.js +++ b/resources/js/index.js @@ -172,7 +172,7 @@ async function setBackgroundImage() { */ async function handleFavoriteInput() { const ip = document.querySelector('#ip').value - const port = document.querySelector('#port').value + const port = document.querySelector('#port').value || '443' const ipArr = await getFavIps() const addr = `${ip}:${port}` diff --git a/resources/js/options.js b/resources/js/options.js index 1b74f53..58da7f6 100644 --- a/resources/js/options.js +++ b/resources/js/options.js @@ -88,7 +88,7 @@ async function handleLanguageChange(elm) { */ async function setFavorite() { const ip = document.querySelector('#ip').value - const port = document.querySelector('#port').value + const port = document.querySelector('#port').value || '443' const ipArr = await getFavIps() const addr = `${ip}:${port}`