Skip to content

Commit

Permalink
Make bool-env more generic
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Dec 13, 2023
1 parent 386c488 commit 0a7fd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
app = Flask(__name__)

app.config['JWT_COOKIE_SECURE'] = os.environ.get(
'JWT_COOKIE_SECURE', 'False') == 'True'
'JWT_COOKIE_SECURE', 'False').lower() == 'true'
app.config['JWT_COOKIE_SAMESITE'] = os.environ.get(
'JWT_COOKIE_SAMESITE', 'Lax')
app.config['JWT_ACCESS_TOKEN_EXPIRES'] = int(os.environ.get(
Expand Down

0 comments on commit 0a7fd96

Please sign in to comment.