server_path: fix
This commit is contained in:
parent
404ff9d885
commit
af9e6aebe5
|
@ -137,8 +137,7 @@ module Ace
|
|||
end
|
||||
|
||||
def server_path
|
||||
absolute = self.output_path.sub(/^output\//, "")
|
||||
absolute.sub! %r<(\.[^./])\.[^/]+$>, '\1'
|
||||
absolute = self.output_path.sub(/^output\//, "").sub %r<(\.[^./]+)\.[^/]+$>, '\1'
|
||||
"/#{absolute}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue