Skip to content
Snippets Groups Projects
Commit 789991f8 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB
Browse files

New requirement for client version

Now require version 2.0.0 of the client and won't allow old
versions without the client header.
parent 6fac3384
No related branches found
No related tags found
No related merge requests found
......@@ -38,10 +38,10 @@ MANAGERS = ADMINS
# Client versions allowed - pip-like specifier strings,
# can be multiple (comma-separated)
ALLOWED_CLIENT_VERSIONS = '>=1.29.dev1'
ALLOWED_CLIENT_VERSIONS = '>=2.0.0'
# Allow requests to API without user-agent header specified
# Temporary fix while we transition
ALLOW_BLANK_USER_AGENT_TO_API = True
ALLOW_BLANK_USER_AGENT_TO_API = False
# Use forwarded host header for Apache -> Gunicorn reverse proxy configuration
USE_X_FORWARDED_HOST = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment