Skip to content

Commit

Permalink
Add routes in api gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sumi-k committed Feb 15, 2024
1 parent 1cbec19 commit 81e071f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions infrastructure/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Resources:
type: "http_proxy"
httpMethod: "ANY"
uri:
Fn::Sub: "${CloudfrontURL}/sitemap.xml"
Fn::Sub: "${EnvName}/sitemap.xml"
connectionType: "INTERNET"
/robots.txt:
x-amazon-apigateway-any-method:
Expand All @@ -56,7 +56,7 @@ Resources:
payloadFormatVersion: "1.0"
type: "http_proxy"
httpMethod: "ANY"
uri: "${CloudfrontURL}/robots.txt"
uri: "${EnvName}/robots.txt"
connectionType: "INTERNET"
/apple-touch-icon.png:
x-amazon-apigateway-any-method:
Expand All @@ -67,7 +67,7 @@ Resources:
payloadFormatVersion: "1.0"
type: "http_proxy"
httpMethod: "ANY"
uri: ${CloudfrontURL}/apple-touch-icon.png
uri: ${EnvName}/apple-touch-icon.png
connectionType: "INTERNET"
x-amazon-apigateway-importexport-version: "1.0"

Expand Down

0 comments on commit 81e071f

Please sign in to comment.