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