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