diff --git a/src/app.py b/src/app.py index 979797f..cf61dd5 100644 --- a/src/app.py +++ b/src/app.py @@ -6,7 +6,7 @@ app = Flask(__name__, static_url_path="/", static_folder="public") app.register_blueprint(index, url_prefix="/index") -@app.route('/') +@app.route("/") def root(): return redirect("index") diff --git a/src/routes/index.py b/src/routes/index.py index 9581268..5883953 100644 --- a/src/routes/index.py +++ b/src/routes/index.py @@ -4,6 +4,6 @@ from config import Config router = Blueprint("index", __name__) -@router.route("/") +@router.route("") def index(): return render_template("index.html", name=Config.name)