Commit 39277ed2 authored by nanahira's avatar nanahira

fix

parent 154feaab
...@@ -176,7 +176,7 @@ var return_success = function(res, msg) { ...@@ -176,7 +176,7 @@ var return_success = function(res, msg) {
return; return;
} }
var http_response = function (req, res) { var requestListener = function (req, res) {
var u = url.parse(req.url, true); var u = url.parse(req.url, true);
var data = u.pathname.split("/"); var data = u.pathname.split("/");
if (data[0] !== "" || data[1] !== "api") { if (data[0] !== "" || data[1] !== "api") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment