FIX: Use File.join for relative_base_url, fix spec

This commit is contained in:
Rishabh 2018-11-29 09:49:56 +05:30
parent 05a4f3fb51
commit 871d4543cc
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ module FileStore
end
def relative_base_url
"#{Discourse.base_uri}#{upload_path}"
File.join(Discourse.base_uri, upload_path)
end
def external?