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
When our build is generated, there is a folder structure that looks like as follows:
However, the issue is that in the S3 bucket, the upload is setting the content-type header as application/emcascript on only the es page itself which is causing the page to be rendered as text instead of a website.
When our build is generated, there is a folder structure that looks like as follows:
However, the issue is that in the S3 bucket, the upload is setting the content-type header as
application/emcascript
on only thees
page itself which is causing the page to be rendered as text instead of a website.this is what our next.config.js looks like
Solution:
I can manually go in and set the header to text/plain and then the page renders properly. Any ideas on how I can fix this?
Thanks!
The text was updated successfully, but these errors were encountered: