Commit 5466dc3
yesod-static: fix test suite with mime-types >= 0.1.2.1 (#1898)
mime-types 0.1.2.1 changed the MIME type of JavaScript files to
text/javascript. In most situation, it is unproblematic to also
allow the old MIME type (application/javascript), so we don't
need to arbitrarily restrict the lower bound on mime-types (this
can still be done by users if necessary).
Resolves #1897.
Co-authored-by: Matt Parsons <parsonsmatt@gmail.com>1 parent f111e5b commit 5466dc3
File tree
3 files changed
+11
-2
lines changed- yesod-static
- test
3 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
125 | 130 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments