implemented /content

This commit is contained in:
2020-11-28 19:24:58 +01:00
parent aa874781e3
commit 4f95cb7f2f
3 changed files with 40 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ from flask_mail import Mail
from utils import Config
from utils import health_database_status, init_security_real_good
from utils import storage
from views import ItemView, ProfileView, UploadView, IndexView
from views import ItemView, ProfileView, UploadView, IndexView, ContentView
from models import db
@@ -45,7 +45,7 @@ CORS(app)
Mail(app)
storage.init_app(app)
for view in [ItemView, ProfileView, UploadView, IndexView]:
for view in [ItemView, ProfileView, UploadView, IndexView, ContentView]:
view.register(app, trailing_slash=False)
health.add_check(health_database_status)