|
|
@ -35,6 +35,7 @@ from flask import (
|
|
|
|
url_for,
|
|
|
|
url_for,
|
|
|
|
)
|
|
|
|
)
|
|
|
|
from flask_login import login_required
|
|
|
|
from flask_login import login_required
|
|
|
|
|
|
|
|
from flask_wtf import CSRFProtect
|
|
|
|
|
|
|
|
|
|
|
|
from changedetectionio import html_tools
|
|
|
|
from changedetectionio import html_tools
|
|
|
|
|
|
|
|
|
|
|
@ -72,6 +73,9 @@ app.config['LOGIN_DISABLED'] = False
|
|
|
|
# Disables caching of the templates
|
|
|
|
# Disables caching of the templates
|
|
|
|
app.config['TEMPLATES_AUTO_RELOAD'] = True
|
|
|
|
app.config['TEMPLATES_AUTO_RELOAD'] = True
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
csrf = CSRFProtect()
|
|
|
|
|
|
|
|
csrf.init_app(app)
|
|
|
|
|
|
|
|
|
|
|
|
notification_debug_log=[]
|
|
|
|
notification_debug_log=[]
|
|
|
|
|
|
|
|
|
|
|
|
def init_app_secret(datastore_path):
|
|
|
|
def init_app_secret(datastore_path):
|
|
|
|