Skip to content

Commit

Permalink
fix: Updated Content-Type for CSS files when being redirected. (#758)
Browse files Browse the repository at this point in the history
* Removed redirects to start debugging

* Restored redirects and enforced all css files to use the correct content-type

* Added a test for redirect

* Removed test redirect as working
  • Loading branch information
daylesalmon committed May 10, 2021
1 parent 731eda8 commit 602bb9b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
[headers.values]
Access-Control-Allow-Origin = "*"

[[headers]]
for = '/*.css'
[headers.values]
Content-Type = "text/css"

# Generate sitemap
[[plugins]]
package = "@netlify/plugin-sitemap"
Expand Down

0 comments on commit 602bb9b

Please sign in to comment.