From f03814918f1972a1765f622929cf85af038e9d36 Mon Sep 17 00:00:00 2001 From: maaa Date: Mon, 10 Jul 2023 03:10:19 +0200 Subject: [PATCH] unfart --- main | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main b/main index 760814f..e9b6bda 100644 --- a/main +++ b/main @@ -28,7 +28,6 @@ PASSWORD_REQUIREMENT = config["config"]["PASSWORD_REQUIREMENT"] app = Flask(__name__) app.config["SECRET_KEY"] = SECRET_KEY -app.config["SERVER_NAME"] = "burger.ctaposter.xyz" app.config["MAX_CONTENT_LENGTH"] = int(UPLOAD_LIMIT) * 1000 * 1000 app.wsgi_app = ProxyFix(app.wsgi_app, x_for=1) @@ -157,7 +156,7 @@ def user(pageusername): else: return """""", 404 -@app.route("/api/page/", subdomain="pages", methods=("GET", "POST")) +@app.route("/api/page/", methods=("GET", "POST")) def apipageuser(userid): pageuser = get_user(userid) addhtml = """ """