Skip to content

Commit 100d2cc

Browse files
author
ProjectPad
committed
fix: set correct MIME types for both JS and CSS files
1 parent 9d39089 commit 100d2cc

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

public/_headers

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
1-
/assets/*
1+
/assets/*.js
22
Content-Type: text/javascript
33

4-
/*
5-
X-Content-Type-Options: nosniff
4+
/assets/*.css
5+
Content-Type: text/css
6+
7+
/*.js
8+
Content-Type: text/javascript
9+
10+
/*.css
11+
Content-Type: text/css

0 commit comments

Comments
 (0)