mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-14 09:46:53 -04:00
update pastebin url to https
This commit is contained in:
parent
e3ab7fc868
commit
d80c7a8436
@ -21,7 +21,7 @@ local function get(pasteId, filename)
|
||||
end
|
||||
|
||||
io.write("Downloading from pastebin.com... ")
|
||||
local url = "http://pastebin.com/raw/" .. pasteId
|
||||
local url = "https://pastebin.com/raw/" .. pasteId
|
||||
local result, response = pcall(internet.request, url)
|
||||
if result then
|
||||
io.write("success.\n")
|
||||
@ -90,7 +90,7 @@ function put(path)
|
||||
|
||||
io.write("Uploading to pastebin.com... ")
|
||||
local result, response = pcall(internet.request,
|
||||
"http://pastebin.com/api/api_post.php",
|
||||
"https://pastebin.com/api/api_post.php",
|
||||
"api_option=paste&" ..
|
||||
"api_dev_key=" .. config.key .. "&" ..
|
||||
"api_paste_format=lua&" ..
|
||||
|
Loading…
x
Reference in New Issue
Block a user