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 个月前113 查看次数
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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则