This commit is contained in:
iFargle
2023-02-13 20:37:51 +09:00
parent 12be0ec3a2
commit 305b52520a

View File

@@ -7,7 +7,6 @@ from dateutil import parser
from concurrent.futures import wait, ALL_COMPLETED
from flask_executor import Executor
# Global vars
# Colors: https://materializecss.com/color.html
COLOR_NAV = "blue-grey darken-1"
@@ -20,7 +19,6 @@ GIT_BRANCH = os.environ["GIT_BRANCH"]
HS_VERSION = "v0.20.0"
DEBUG_STATE = False
static_url_path = '/static'
if BASE_PATH != '':
static_url_path = BASE_PATH + static_url_path
@@ -35,8 +33,8 @@ handler.setFormatter(logging.Formatter(
app.logger.addHandler(handler)
app.logger.setLevel(logging.DEBUG)
logger.debug("Static assets served on: "+static_url_path)
logger.debug("BASE_PATH: "+BASE_PATH)
app.logger.debug("Static assets served on: "+static_url_path)
app.logger.debug("BASE_PATH: "+BASE_PATH)
@app.route('/')
@app.route(BASE_PATH+'/')