diff --git a/app/app.py b/app/app.py index bbfd967..b019c4c 100644 --- a/app/app.py +++ b/app/app.py @@ -14,16 +14,16 @@ app = Flask(__name__) @app.route('/') def home(): - return render_template('index.j2', instanceName="nyxask.nixos.internal", instanceBranding=instanceBranding) + return render_template('index.j2', instanceLocation=instanceLocation, instanceBranding=instanceBranding) @app.route('/auth/login/') def login(): - return render_template('login.j2', instanceName="nyxask.nixos.internal", instanceBranding=instanceBranding) + return render_template('login.j2', instanceLocation=instanceLocation, instanceBranding=instanceBranding) @app.route('/auth/register/') def register(): - return render_template('register.j2', instanceName="nyxask.nixos.internal", instanceBranding=instanceBranding) + return render_template('register.j2', instanceLocation=instanceLocation, instanceBranding=instanceBranding) @app.route('/assets/css/index.css') def index_css(): diff --git a/app/templates/index.j2 b/app/templates/index.j2 index ec2eded..7e69a72 100644 --- a/app/templates/index.j2 +++ b/app/templates/index.j2 @@ -9,7 +9,7 @@ {{ header_home() }}