mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-07-01 18:30:34 +00:00
Delete unused files, restructure assets and use scss
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
from dotenv import load_dotenv
|
||||
from flask import Flask
|
||||
from logging.handlers import RotatingFileHandler
|
||||
from werkzeug.middleware.proxy_fix import ProxyFix
|
||||
import logging
|
||||
@ -92,7 +93,7 @@ class Config:
|
||||
int(os.environ.get('NOPAQUE_PROXY_FIX_X_PROTO', '0'))
|
||||
|
||||
@classmethod
|
||||
def init_app(cls, app):
|
||||
def init_app(cls, app: Flask):
|
||||
# Set up logging according to the corresponding (NOPAQUE_LOG_*)
|
||||
# configurations
|
||||
app.logger.setLevel(app.config.get('NOPAQUE_LOG_LEVEL'))
|
||||
|
Reference in New Issue
Block a user