summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorViktor Szakats <commit@vszakats.net>2018-07-30 06:27:30 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-07-31 12:49:26 (GMT)
commite467d9d1ecde181ca0ae2bdcb2e8301f8b4343af (patch)
treee2e3089a61882d2975aa5991f30a1f8d6517ffa3 /plugins
parent510e097797568d45483c290bf9ec7daec2bc7367 (diff)
downloadmxe-e467d9d1ecde181ca0ae2bdcb2e8301f8b4343af.zip
mxe-e467d9d1ecde181ca0ae2bdcb2e8301f8b4343af.tar.gz
mxe-e467d9d1ecde181ca0ae2bdcb2e8301f8b4343af.tar.bz2
Secure URLs
Diffstat (limited to 'plugins')
-rw-r--r--plugins/luarocks/README.md2
-rw-r--r--plugins/luarocks/test.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/luarocks/README.md b/plugins/luarocks/README.md
index 761fed2..902aae2 100644
--- a/plugins/luarocks/README.md
+++ b/plugins/luarocks/README.md
@@ -19,7 +19,7 @@ function `require`.
Example:
```
$ luarocks install luasocket
-$ lua -e 'http = require "socket.http"; print(http.request("http://mxe.cc"))'
+$ lua -e 'http = require "socket.http"; print(http.request("https://mxe.cc/"))'
<!DOCTYPE html>
....
```
diff --git a/plugins/luarocks/test.lua b/plugins/luarocks/test.lua
index 1016231..acb3d80 100644
--- a/plugins/luarocks/test.lua
+++ b/plugins/luarocks/test.lua
@@ -2,7 +2,7 @@ local lpeg = require 'lpeg'
assert(((lpeg.R('AZ'))^1):match("TEXT") == 5)
local http = require "socket.http"
-assert(http.request("http://mxe.cc"):match('MXE'))
+assert(http.request("https://mxe.cc/"):match('MXE'))
local ll = require 'llthreads2'
local thread = ll.new("return 123")