|
@@ -121,6 +121,7 @@ def api_json(): |
|
|
return render_template("api.mako", help=False, result=result) |
|
|
return render_template("api.mako", help=False, result=result) |
|
|
resp = make_response(dumps(result)) |
|
|
resp = make_response(dumps(result)) |
|
|
resp.mimetype = "application/json" |
|
|
resp.mimetype = "application/json" |
|
|
|
|
|
resp.headers["Access-Control-Allow-Origin"] = "*" |
|
|
return resp |
|
|
return resp |
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
if __name__ == '__main__': |
|
|