diff --git a/cloudformation/url-shortener-stack.yaml b/cloudformation/url-shortener-stack.yaml index dae5a6b..679d80f 100644 --- a/cloudformation/url-shortener-stack.yaml +++ b/cloudformation/url-shortener-stack.yaml @@ -428,96 +428,50 @@ Resources: Integration: Type: MOCK IntegrationHttpMethod: GET + RequestTemplates: + application/json: | + {'statusCode': 200} IntegrationResponses: - StatusCode: 200 ResponseTemplates: - application/json: | + text/html: | - + - - Private URL shortener - - - + + +

URL Shortener Admin

+
+
+
+ +
+

+ + - - -
- -

Private URL shortener

-
-
-
- - -
- - -
- - -
PassthroughBehavior: WHEN_NO_TEMPLATES @@ -525,6 +479,8 @@ Resources: RestApiId: !Ref apiGateway MethodResponses: - StatusCode: 200 + ResponseModels: + text/html: Empty RequestPOST: DependsOn: IAMRole @@ -578,4 +534,4 @@ Resources: MethodResponses: - StatusCode: 301 ResponseParameters: - method.response.header.Location: true \ No newline at end of file + method.response.header.Location: true