Skip to content

Commit

Permalink
Add back alt js mime for backwards compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-hansen authored and marlonbaeten committed Jul 16, 2024
1 parent b55342e commit c9d99ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion memory-serve-macros/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const COMPRESS_TYPES: &[&str] = &[
"text/css",
"application/json",
"text/javascript",
"text/javascript",
"application/javascript",
"application/xml",
"text/xml",
"image/svg+xml",
Expand Down
2 changes: 1 addition & 1 deletion memory-serve/src/asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub const COMPRESS_TYPES: &[&str] = &[
"text/css",
"application/json",
"text/javascript",
"text/javascript",
"application/javascript",
"application/xml",
"text/xml",
"image/svg+xml",
Expand Down

0 comments on commit c9d99ed

Please sign in to comment.