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 = """ """