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
posta un mese fa116 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un mese fa
profile picture
ESPERTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande