server_path: fix
This commit is contained in:
parent
79bf17fcd7
commit
404ff9d885
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue