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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南