mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
Remove another form disable check
This commit is contained in:
parent
e0c9666b1e
commit
5ecc917ad7
1 changed files with 1 additions and 2 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue