From b8e148357ff1895bcf3a848919c9f74072f38bc5 Mon Sep 17 00:00:00 2001 From: nyx Date: Tue, 11 Mar 2025 10:15:17 -0500 Subject: [PATCH] Change names to make more sense --- app/app.py | 6 +++--- app/templates/index.j2 | 2 +- app/templates/login.j2 | 2 +- app/templates/register.j2 | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) 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() }}

- Hi from {{ instanceName }}'s Nyxask! + Hi from {{ instanceLocation }}'s Nyxask!

- Login to {{ instanceName }}'s Nyxask! + Login to {{ instanceLocation }}'s Nyxask!

- Register at {{ instanceBranding }} + Register at {{ instanceLocation }}