diff --git a/cgi-bin/form.py b/cgi-bin/form.py index c9fa895..dbf2a9a 100755 --- a/cgi-bin/form.py +++ b/cgi-bin/form.py @@ -62,7 +62,7 @@ match os.environ.get("REQUEST_METHOD", "").upper(): # For GET requests, serve the form that the user requested. The CSRF # token will be added here as well. - form_disabled = request_uri.startswith("/computer-beantragen/privat") + form_disabled = False print(f"Status: {200 if not form_disabled else 503}") print(f"Content-Type: text/html") @@ -311,4 +311,3 @@ try: print("") except Exception as e: fail("500 Internal Server Error", str(e)) -