浏览代码

Can POST to /settings.

pull/24/head
Ben Kurtovic 10 年前
父节点
当前提交
262ad492f6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app.fcgi

+ 1
- 1
app.fcgi 查看文件

@@ -31,7 +31,7 @@ def index():
cookies = parse_cookies(root, request.environ.get("HTTP_COOKIE"))
return render_template("index.mako", root=root, environ=request.environ, cookies=cookies)

@app.route("/settings")
@app.route("/settings", methods=["GET", "POST"])
def settings():
root = request.environ["SCRIPT_NAME"]
cookies = parse_cookies(root, request.environ.get("HTTP_COOKIE"))


正在加载...
取消
保存