From f96b4f6724ea3611f6d481bbcaacfc60a939890d Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Mon, 23 Jan 2023 01:24:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=8A=E6=8E=88=E6=9D=83=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=E6=94=BE=E5=88=B0main=E9=87=8C=E5=8F=A6=E5=A4=96=E4=B8=A4?= =?UTF-8?q?=E4=B8=AAurl=E5=A4=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.lua | 1 + parts/scenes/login.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 64d3b798..ffa12a0a 100644 --- a/main.lua +++ b/main.lua @@ -601,6 +601,7 @@ for _,fileName in next,fs.getDirectoryItems('replay') do end table.sort(REPLAY,function(a,b) return a.fileName>b.fileName end) +AUTHURL="https://studio26f.org/oauth?product=techmino" WS.switchHost('cafuuchino1.3322.org','10026','/techmino/ws/v1') HTTP.setHost("cafuuchino1.3322.org:10026") HTTP.setThreadCount(1) diff --git a/parts/scenes/login.lua b/parts/scenes/login.lua index 96f44b97..e4a3f410 100644 --- a/parts/scenes/login.lua +++ b/parts/scenes/login.lua @@ -1,7 +1,7 @@ local scene={} local function _authorize() - love.system.openURL("https://studio26f.org/oauth?product=techmino") + love.system.openURL(AUTHURL) end local function _submit() local tickets=scene.widgetList.ticket:getText():upper()