Changeset

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 654:7e444de959bb
children 656:74bd7ebe5792
files mod_register_json/mod_register_json.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,