From dc8740dade29b6c869b099b5fdf490cff9d3dc25 Mon Sep 17 00:00:00 2001 From: iFargle Date: Fri, 17 Feb 2023 19:18:17 +0900 Subject: [PATCH] test --- server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server.py b/server.py index 9521f03..4f2761b 100644 --- a/server.py +++ b/server.py @@ -21,13 +21,13 @@ if AUTH_TYPE.lower() == "oidc": # Load OIDC libraries from flaskoidc import FlaskOIDC - app = FlaskOIDC(__name__, static_url_path=BASE_PATH) + app = FlaskOIDC(__name__, static_url_path=BASE_PATH+"/static") app.logger.error("Loading OIDC libraries and configuring app...") # TODO: # If OIDC is enabled, add user info and a logout button to the top bar. elif AUTH_TYPE.lower() == "basic": - app = Flask(__name__, static_url_path=BASE_PATH) + app = Flask(__name__, static_url_path=BASE_PATH+"/static") # Load basic auth libraries: app.logger.error("Loading basic auth libraries and configuring app...") # https://flask-basicauth.readthedocs.io/en/latest/ @@ -40,7 +40,7 @@ elif AUTH_TYPE.lower() == "basic": basic_auth = BasicAuth(app) else: - app = Flask(__name__, static_url_path=BASE_PATH) + app = Flask(__name__, static_url_path=BASE_PATH+"/static") executor = Executor(app)