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

quick fix to settings

parent e33cdec7
No related branches found
No related tags found
No related merge requests found
......@@ -42,9 +42,9 @@ configs = {
# default to production if ROOT_PATH key not found.
config = configs.get(ROOT_PATH, "production")
# If host is gracedb-test, use custom test settings.
# If host is NOT gracedb, use test settings.
hostname = socket.gethostname()
if (hostname == 'gracedb-test'):
if (hostname != 'gracedb'):
config = 'test'
# Import custom settings
......
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