diff --git a/src/webx/templates/base.html b/src/webx/templates/base.html
index 435e7a2..3e30466 100644
--- a/src/webx/templates/base.html
+++ b/src/webx/templates/base.html
@@ -12,6 +12,7 @@
|
diff --git a/template.yml b/template.yml
index e7275bd..d82ceb5 100644
--- a/template.yml
+++ b/template.yml
@@ -56,9 +56,9 @@ Resources:
Properties:
ApiId: !Ref HttpApi
# route all path to one endpoint.
- Path: $default
- Method: ANY
TimeoutInMillis: 15000
+ Method: GET
+ Path: /
# https://docs.aws.amazon.com/zh_cn/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html
PayloadFormatVersion: "2.0"
RouteSettings:
@@ -74,6 +74,9 @@ Resources:
Format: $context.requestId
DefaultRouteSettings:
ThrottlingBurstLimit: 200
+ RouteSettings:
+ GET /:
+ ThrottlingBurstLimit: 500
StageVariables:
StageVar: Value
FailOnWarnings: true