Skip to content

Commit

Permalink
fix: dynamically change flask config based on the config file
Browse files Browse the repository at this point in the history
  • Loading branch information
leehanchung authored and hurshd0 committed Apr 17, 2020
1 parent bde8a58 commit 9b06b74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ncov19_dash/flask_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
static_folder='assets',
)
server.secret_key = config.SECRET_KEY

server.config['TESTING'] = config.TESTING
server_cache.init_app(server)

server.register_blueprint(sitemap)
Expand Down

0 comments on commit 9b06b74

Please sign in to comment.