-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CloudFront-Is-Desktop-Viewer always set true, even if I use mobile #2800
Comments
Hi @xiaoxiaosaohuo 👋🏽 thank you for raising this. We have added it to our product backlog for prioritization. |
This feature has just been supported with our latest launch! Closing. Check out the details here: https://aws.amazon.com/blogs/mobile/cdn-caching-improvements-for-better-app-performance-with-aws-amplify-hosting/ |
This issue is now closed. Comments on closed issues are hard for our team to see. |
This issue has been automatically locked. |
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: