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
demandé il y a un mois116 vues
1 réponse
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
EXPERT
répondu il y a un mois
profile picture
EXPERT
vérifié il y a un mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions