Update config.py

pull/109/head
midoks 7 years ago
parent 6ea697af21
commit 133e587f6b
  1. 7
      class/core/config.py

@ -24,11 +24,14 @@ class config:
def makeApp(self, name):
app = Flask(name)
app.debug = True
app.config.version = self.__version + str(time.time())
app.config.version = self.__version
app.config['SECRET_KEY'] = os.urandom(24)
app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(days=7)
# app.debug = True
# app.config.version = self.__version + str(time.time())
__app = app
self.initDB()

Loading…
Cancel
Save