APIDump: Load the official undocumented from alternate location.
This fixes the CI builds until the apidocs.cuberite.org subdomain gets functional again.
This commit is contained in:
parent
3516edff5b
commit
506ce33101
@ -1891,7 +1891,7 @@ end
|
||||
local function CheckNewUndocumentedSymbols()
|
||||
-- Download the official API stats on undocumented stuff:
|
||||
-- (We need a blocking downloader, which is impossible with the current cNetwork API)
|
||||
assert(os.execute("wget -q -O official_undocumented.lua http://apidocs.cuberite.org/_undocumented.lua"))
|
||||
assert(os.execute("wget -q -O official_undocumented.lua http://apidocs.cuberite.xoft.cz/_undocumented.lua"))
|
||||
local OfficialStats = cFile:ReadWholeFile("official_undocumented.lua")
|
||||
if (OfficialStats == "") then
|
||||
return true, "Cannot load official stats"
|
||||
|
Loading…
Reference in New Issue
Block a user