Explorar el Código

Can POST to /settings.

pull/24/head
Ben Kurtovic hace 10 años
padre
commit
262ad492f6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      app.fcgi

+ 1
- 1
app.fcgi Ver fichero

@@ -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"))


Cargando…
Cancelar
Guardar