Skip to content

Commit 7e034da

Browse files
committed
Add frontend handling routes
1 parent bb16b91 commit 7e034da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

runtime/chalicelib/route/__init__.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ def register_blueprints(app: chalice.app.Chalice) -> None:
2424

2525
app.register_blueprint(blueprint=bp, url_prefix=f"/api/v1/{bp.url_prefix}")
2626

27-
@app.route("/", methods=["GET"])
27+
@app.route(path="/", methods=["GET"])
28+
@app.route(path="/template-manager", methods=["GET"])
29+
@app.route(path="/send-manager", methods=["GET"])
2830
def get_admin_frontend() -> str:
2931
if not FRONTEND_ADMIN_PATH.exists():
3032
raise chalice.app.NotFoundError("Admin frontend not found")

0 commit comments

Comments
 (0)