incorrect MIME type for Javacript files #3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For the egui-corcles project, incorrect MIME is returned for *.js files failing the whole Pages flow
Expected:
Actual:
Caddyserver github issue:
Check file mime type:
Possible sollutions
Caddyfilewithheader /*.js Content-Type text/javascriptUpdating Alpine's MIME type internals seems to be hard and not easily automated (for the docker images). Thus it looks that i have to focus on editing
Caddyfileto enable remapping of Content type for *.js files.CaddyfilestructureCaddyfile Blocks
Going to try to modify the default
Caddyfilewith