diff --git a/lib/ace.rb b/lib/ace.rb index 960c030..f1746f0 100644 --- a/lib/ace.rb +++ b/lib/ace.rb @@ -138,7 +138,7 @@ module Ace def server_path absolute = self.output_path.sub(/^output\//, "") - absolute.sub! %r<(\.[^./])\.[^/]$>, '\1' + absolute.sub! %r<(\.[^./])\.[^/]+$>, '\1' "/#{absolute}" end