From dbf41dba68d68da74830ba22d19235b3129592f7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 13 Aug 2012 12:39:11 +0000 Subject: [PATCH] Set application/javascript as javascript mime tpye (#11621). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10195 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/mime_type.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/redmine/mime_type.rb b/lib/redmine/mime_type.rb index 730a2f0e9..1a5c3d345 100644 --- a/lib/redmine/mime_type.rb +++ b/lib/redmine/mime_type.rb @@ -26,7 +26,6 @@ module Redmine 'text/x-c' => 'c,cpp,cc,h,hh', 'text/x-csharp' => 'cs', 'text/x-java' => 'java', - 'text/x-javascript' => 'js', 'text/x-html-template' => 'rhtml', 'text/x-perl' => 'pl,pm', 'text/x-php' => 'php,php3,php4,php5', @@ -45,6 +44,7 @@ module Redmine 'image/x-ms-bmp' => 'bmp', 'image/x-xpixmap' => 'xpm', 'image/svg+xml'=> 'svg', + 'application/javascript' => 'js', 'application/pdf' => 'pdf', 'application/rtf' => 'rtf', 'application/msword' => 'doc', -- 2.39.5