mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-01-03 19:23:35 +01:00
debug
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user