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 77eae57 commit 1fc3b86
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions infrastructure/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ Resources:
Properties:
StageName: $default
Description:
Fn::Sub: Canopas Website SSR Frontend API ${CloudfrontURL}
Fn::Sub: Canopas Website SSR Frontend API ${EnvName}
DefinitionBody:
openapi: "3.0.1"
info:
title:
Fn::Sub: canopas-website-ssr-frontend-${CloudfrontURL}
Fn::Sub: canopas-website-ssr-frontend-${EnvName}
version: "1.0"
paths:
/sitemap.xml:
Expand All @@ -45,7 +45,7 @@ Resources:
type: "http_proxy"
httpMethod: "ANY"
uri:
Fn::Sub: "${CloudfrontURL}/sitemap.xml"
Fn::Sub: "${CloudfrontURL}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: "${CloudfrontURL}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: ${CloudfrontURL}apple-touch-icon.png
connectionType: "INTERNET"
x-amazon-apigateway-importexport-version: "1.0"

Expand Down

0 comments on commit 1fc3b86

Please sign in to comment.