Closed hugopl closed 8 months ago
Failures: 1) Amber::Pipe::Static serves the correct content type for serve file Failure/Error: response.headers["content-type"].should eq(Amber::Support::MimeTypes.mime_type(ext)) Expected: "application/javascript" got: "text/javascript" # spec/amber/pipes/static_spec.cr:44
According to https://datatracker.ietf.org/doc/draft-ietf-dispatch-javascript-mjs/ "application/javascript" is obsolete.
This may fail on CI if the system used to test is too old.
According to https://datatracker.ietf.org/doc/draft-ietf-dispatch-javascript-mjs/ "application/javascript" is obsolete.
Possible Drawbacks
This may fail on CI if the system used to test is too old.