Skip to content

Commit 89ba125

Browse files
devynschacon
authored andcommitted
Edited GitWeb::Controllers::JSHighlight#get: changed text/css to text/javascript as is proper
Signed-off-by: Scott Chacon <schacon@gmail.com>
1 parent d6418a0 commit 89ba125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

camping/gitweb.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def get
6060

6161
class JsHighlight < R '/js/highlight.js'
6262
def get
63-
@headers['Content-Type'] = 'text/css'
63+
@headers['Content-Type'] = 'text/javascript'
6464
inline_data(:js)
6565
end
6666
end

0 commit comments

Comments
 (0)