comparison 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
comparison
equal deleted inserted replaced
654:7e444de959bb 655:81d269f97ea2
120 end 120 end
121 end 121 end
122 122
123 -- Set it up! 123 -- Set it up!
124 124
125 module:provides((secure and "https" or "http"), { 125 module:provides("http", {
126 default_path = base_path, 126 default_path = base_path,
127 route = { 127 route = {
128 ["GET /"] = handle_req, 128 ["GET /"] = handle_req,
129 ["POST /"] = handle_req 129 ["POST /"] = handle_req
130 } 130 }