This commit is contained in:
Dawa Ometto
2020-03-30 01:35:56 +02:00
parent d32c5a88f7
commit 1f70dca752
+1 -1
View File
@@ -125,7 +125,7 @@ module Precious
end
get '/assets/mathjax/*' do
env['PATH_INFO'].sub!("/gollum/assets/mathjax", '')
env['PATH_INFO'].sub!('/gollum/assets/mathjax', '')
Rack::Static.new(not_found_proc, {:root => @mathjax_path, :urls => ['']}).call(env)
end