This commit is contained in:
iFargle
2023-02-16 22:01:26 +09:00
parent d60bcc6286
commit 1c8ae5f563

View File

@@ -14,14 +14,14 @@ GIT_COMMIT = os.environ["GIT_COMMIT"]
GIT_BRANCH = os.environ["GIT_BRANCH"]
HS_VERSION = "v0.20.0"
DEBUG_STATE = False
AUTH_TYPE = os.environ["AUTH_TYPE"]
AUTH_TYPE = os.environ["AUTH_TYPE"].replace('"', '')
static_url_path = '/static'
if BASE_PATH != '': static_url_path = BASE_PATH + static_url_path
app = Flask(__name__, static_url_path=static_url_path)
executor = Executor(app)
app.logger.warning("Authentication chosen: "+AUTH_TYPE.lower())
app.logger.warning("Static assets served on: "+static_url_path)
app.logger.warning("BASE_PATH: "+BASE_PATH)