Skip to content

Commit

Permalink
Add workaround for dev cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-c committed Jan 22, 2024
1 parent 10170aa commit 9641ff6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions portal/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ class TestConfig(BaseConfig):
MAIL_SUPPRESS_SEND = os.environ.get(
'MAIL_SUPPRESS_SEND', str(TESTING)).lower() == 'true'
SERVER_NAME = 'localhost:5005'
SESSION_COOKIE_DOMAIN = os.environ.get('SESSION_COOKIE_DOMAIN', 'localhost')
LIVESERVER_PORT = 5005
SQLALCHEMY_ECHO = False
SQLALCHEMY_DATABASE_URI = testing_sql_url()
Expand Down

0 comments on commit 9641ff6

Please sign in to comment.