mv hello.html index.html
change
commit 54fc766fe3d637d8c77bc4b6e47592f0312ad815
author Alpha Chen <alpha@kejadlen.dev>
date
parent e5535c81
diff --git a/go_ji/__init__.py b/go_ji/__init__.py
index 2c56cc9..b177989 100644
--- a/go_ji/__init__.py
+++ b/go_ji/__init__.py
@@ -79,7 +79,7 @@ def create_app(config_override: dict[str, Any] = {}) -> Flask:
 
     @app.route("/")
     def index() -> str:
-        return render_template("hello.html", name=g.user.login)
+        return render_template("index.html", name=g.user.login)
 
     @app.route("/links", methods=["POST"])
     def create_link() -> Response:
diff --git a/go_ji/templates/hello.html b/go_ji/templates/index.html
similarity index 100%
rename from go_ji/templates/hello.html
rename to go_ji/templates/index.html