把授权链接放到main里另外两个url处
This commit is contained in:
1
main.lua
1
main.lua
@@ -601,6 +601,7 @@ for _,fileName in next,fs.getDirectoryItems('replay') do
|
|||||||
end
|
end
|
||||||
table.sort(REPLAY,function(a,b) return a.fileName>b.fileName 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')
|
WS.switchHost('cafuuchino1.3322.org','10026','/techmino/ws/v1')
|
||||||
HTTP.setHost("cafuuchino1.3322.org:10026")
|
HTTP.setHost("cafuuchino1.3322.org:10026")
|
||||||
HTTP.setThreadCount(1)
|
HTTP.setThreadCount(1)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
local scene={}
|
local scene={}
|
||||||
|
|
||||||
local function _authorize()
|
local function _authorize()
|
||||||
love.system.openURL("https://studio26f.org/oauth?product=techmino")
|
love.system.openURL(AUTHURL)
|
||||||
end
|
end
|
||||||
local function _submit()
|
local function _submit()
|
||||||
local tickets=scene.widgetList.ticket:getText():upper()
|
local tickets=scene.widgetList.ticket:getText():upper()
|
||||||
|
|||||||
Reference in New Issue
Block a user