We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb16b91 commit 7e034daCopy full SHA for 7e034da
runtime/chalicelib/route/__init__.py
@@ -24,7 +24,9 @@ def register_blueprints(app: chalice.app.Chalice) -> None:
24
25
app.register_blueprint(blueprint=bp, url_prefix=f"/api/v1/{bp.url_prefix}")
26
27
- @app.route("/", methods=["GET"])
+ @app.route(path="/", methods=["GET"])
28
+ @app.route(path="/template-manager", methods=["GET"])
29
+ @app.route(path="/send-manager", methods=["GET"])
30
def get_admin_frontend() -> str:
31
if not FRONTEND_ADMIN_PATH.exists():
32
raise chalice.app.NotFoundError("Admin frontend not found")
0 commit comments