From 81e071f166de90129ca581a2e0e862d58b8007be Mon Sep 17 00:00:00 2001 From: Sumita Canopas Date: Thu, 15 Feb 2024 15:44:18 +0530 Subject: [PATCH] Add routes in api gateway --- infrastructure/frontend.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure/frontend.yml b/infrastructure/frontend.yml index 07e6e6aa4..2ceaed886 100644 --- a/infrastructure/frontend.yml +++ b/infrastructure/frontend.yml @@ -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: @@ -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: @@ -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"