mod_register_json: revert change, it's not needed (providing http provides https as well)
authorMarco Cirillo <maranda@lightwitch.org>
Sun, 29 Apr 2012 20:16:43 +0000
changeset 655 81d269f97ea2
parent 654 7e444de959bb
child 656 74bd7ebe5792
mod_register_json: revert change, it's not needed (providing http provides https as well)
mod_register_json/mod_register_json.lua
--- a/mod_register_json/mod_register_json.lua	Sun Apr 29 21:07:04 2012 +0200
+++ b/mod_register_json/mod_register_json.lua	Sun Apr 29 20:16:43 2012 +0000
@@ -122,7 +122,7 @@
 
 -- Set it up!
 
-module:provides((secure and "https" or "http"), {
+module:provides("http", {
 	default_path = base_path,
         route = {
                 ["GET /"] = handle_req,