server_path: remove extra extentions.
This commit is contained in:
parent
8a5db0714d
commit
57185d83a7
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ module Ace
|
|||
|
||||
def server_path
|
||||
absolute = self.output_path.sub(/^output\//, "")
|
||||
absolute.sub! %r<(\.[^./]).[^/]$>, '\1'
|
||||
"/#{absolute}"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue