mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-21 11:44:45 +01:00
test
This commit is contained in:
@@ -5,6 +5,8 @@ from flask import Flask, Markup, redirect, render_template, request, ur
|
||||
from dateutil import parser
|
||||
from flask_executor import Executor
|
||||
|
||||
from werkzeug.middleware.proxy_fix import ProxyFix
|
||||
|
||||
# Global vars
|
||||
# Colors: https://materializecss.com/color.html
|
||||
COLOR_NAV = "blue-grey darken-1"
|
||||
@@ -15,6 +17,7 @@ STATIC_URL_PATH = "/static"
|
||||
|
||||
# Initiate the Flask application:
|
||||
app = Flask(__name__, static_url_path=STATIC_URL_PATH)
|
||||
app.wsgi_app = ProxyFix(app.wsgi_app, x_for=1, x_proto=1)
|
||||
LOG = logging.create_logger(app)
|
||||
executor = Executor(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user