FIX: Use File.join for relative_base_url, fix spec
This commit is contained in:
parent
05a4f3fb51
commit
871d4543cc
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue