1
0
Fork 0

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:
Mattes D 2016-12-15 21:25:33 +01:00
parent 3516edff5b
commit 506ce33101
1 changed files with 1 additions and 1 deletions

View File

@ -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"