We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
text/javascript
1 parent 7acfe49 commit 1bd0f15Copy full SHA for 1bd0f15
1 file changed
lib/rack/mime.rb
@@ -290,7 +290,7 @@ def match?(value, matcher)
290
".jpg" => "image/jpeg",
291
".jpgv" => "video/jpeg",
292
".jpm" => "video/jpm",
293
- ".js" => "application/javascript",
+ ".js" => "text/javascript",
294
".json" => "application/json",
295
".karbon" => "application/vnd.kde.karbon",
296
".kfo" => "application/vnd.kde.kformula",
0 commit comments