changed url server

test-utf-8
rubin 2 years ago
parent aab28daede
commit edf367c29f
  1. 6
      TruckHUD.lua

@ -3287,7 +3287,7 @@ function transponder()
local response_path = os.tmpname()
down = false
download_id_4 = downloadUrlToFile(
"http://thprivate.deadpoo.net/" .. encodeJson(request_table),
"http://th.deadpoo.net/" .. encodeJson(request_table),
response_path,
function(id, status, p1, p2)
if stop_downloading_4 then
@ -3520,7 +3520,7 @@ function dn(nam)
file = getGameDirectory() .. "\\moonloader\\resource\\TruckHUD\\" .. nam
if not doesFileExist(file) then
downloadUrlToFile(
"http://thprivate.deadpoo.net/download/" .. nam,
"http://th.deadpoo.net/download/" .. nam,
file
)
end
@ -3643,7 +3643,7 @@ function get_time()
_time = os.time()
if inifiles.Settings.transponder then
local adress = os.getenv('TEMP')..'\\truck-timestamp'
local url = 'http://thprivate.deadpoo.net/timestamp'
local url = 'http://th.deadpoo.net/timestamp'
downloadUrlToFile(url, adress, function(id, status, p1, p2)
if status == dlstatus.STATUSEX_ENDDOWNLOAD then
if doesFileExist(adress) then

Loading…
Cancel
Save