How can I get user-agent Amplify?

0

I have used Amplify hosting for my SSR (Nextjs). I get from Header with key 'user-agent' and my value: 'Amazon Cloudfront'. Browser user-agent not available in AWS Amplify? An option to keep the original browser user-agent header and not replace it with Amazon Cloudfront.

Teddy
質問済み 1ヶ月前103ビュー
1回答
0

Hi,

According to the following aws-amplify GitHub issue, it has been identified as a feature request, but currently the browser user-agent not available in AWS Amplify.

In fact, there are other opened issues related to this:

profile picture
エキスパート
回答済み 1ヶ月前
profile picture
エキスパート
レビュー済み 1ヶ月前

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

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

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

関連するコンテンツ