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
Caddyfile
withheader /*.js Content-Type text/javascript
Updating 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
Caddyfile
to enable remapping of Content type for *.js files.Caddyfile
structureCaddyfile Blocks
Going to try to modify the default
Caddyfile
with