Skip to content

Commit

Permalink
Merge pull request hack4impact#197 from trinanda/production-config
Browse files Browse the repository at this point in the history
set debugger and reloader to False on production
  • Loading branch information
abhisuri97 authored Dec 11, 2019
2 parents adde920 + 961e196 commit 3d907d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def init_app(cls, app):


class ProductionConfig(Config):
DEBUG = False
USE_RELOADER = False
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL',
'sqlite:///' + os.path.join(basedir, 'data.sqlite'))
SSL_DISABLE = (os.environ.get('SSL_DISABLE', 'True') == 'True')
Expand Down

0 comments on commit 3d907d2

Please sign in to comment.