(statically hosted content in the images/ folder returns 404s)
(the problem was all content in javascript, css, and images folders was hard-coded to return 404s)
This commit is contained in:
Shane Brinkman-Davis
2012-11-18 09:53:27 -08:00
parent 4dab03b61b
commit e09f7cd49c
-4
View File
@@ -282,10 +282,6 @@ module Precious
mustache :compare
end
get %r{^/(javascript|css|images)} do
halt 404
end
get %r{/(.+?)/([0-9a-f]{40})} do
file_path = params[:captures][0]
version = params[:captures][1]