You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
App Id
No response
Region
No response
Amplify Hosting feature
Custom headers
Describe the bug
I use Nextjs SSR, I want to get the user agent in getServerSideProps, however, can not get it, I found there some headers like : CloudFront-Is-Desktop-Viewer, it's always set true, even if I use a mobile device.
Expected behavior
can detect real device type
Reproduction steps
using getServerSideProps
print the header
deploy it
Build Settings
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.
Before opening, please confirm:
App Id
No response
Region
No response
Amplify Hosting feature
Custom headers
Describe the bug
I use Nextjs SSR, I want to get the user agent in getServerSideProps, however, can not get it, I found there some headers like : CloudFront-Is-Desktop-Viewer, it's always set true, even if I use a mobile device.
Expected behavior
can detect real device type
Reproduction steps
Build Settings
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: