lib/roda/plugins/assets.rb in roda-cj-1.0.2 vs lib/roda/plugins/assets.rb in roda-cj-1.0.3
- old
+ new
@@ -89,10 +89,10 @@
r = new
content = ''
files.each do |file|
- if type != folder
+ if type != folder && !file[/^\.\//] && !file[/^http/]
file = "#{folder}/#{file}"
end
content += r.read_asset_file file, type
end