diff mod_register_json/mod_register_json.lua @ 655:81d269f97ea2

mod_register_json: revert change, it's not needed (providing http provides https as well)
author Marco Cirillo <maranda@lightwitch.org>
date Sun, 29 Apr 2012 20:16:43 +0000
parents 78a23a7dc613
children aa3fbb33700d
line wrap: on
line diff
--- 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,