Angular access to Apigateway

0

My Angular 12 website hosted in S3 fails to route from one page to another because the website fails to get resources through Apigateway during the routing action. The error message I see is "Failed to load resources: net::ERR_NAME_NOT_RESOLVED." What to I have to do to allow Angular to access resources through Apigateway? By the way, the site works just fine when I run it locally from my development machine.

1回答
1

The error indicates that the client is not able to resolve the DNS name for the API. Make sure the site on S3 is properly configured and has the right domain name when it is making the API calls.

profile pictureAWS
エキスパート
Uri
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ