-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
adapter-node return "application/javascript" for mjs instead "text/javascript" #11393
Labels
Comments
|
Caused by lukeed/mrmime#8 |
@benmccann I tried to update mrmime manually and it didn't help. Anyway, thanks. |
released |
Thanks @lukeed. We'll need |
Thanks, @benmccann and @lukeed !!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
For all mjs file adapter node return wrong mime type, because of this Cloudflare can't properly cache it.
Reproduction
Just check header from SvelteKit adapter-node.
Logs
HTTP request sent, awaiting response... HTTP/1.1 200 OK Vary: Accept-Encoding cache-control: public,max-age=31536000,immutable Content-Length: 31277 Content-Type: application/javascript Last-Modified: Mon, 18 Dec 2023 14:45:58 GMT ETag: W/"31277-1702910758672" Date: Tue, 19 Dec 2023 02:26:36 GMT Connection: keep-alive Keep-Alive: timeout=5
System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: