MT-Libraries / ghost-oss-store

Ghost Aliyun OSS storage module.
Other
30 stars 17 forks source link

path.join method can not resolve correct url #7

Closed sharyuke closed 6 years ago

sharyuke commented 6 years ago

when I config origin host to "https://my.host.com" , what I get the url is "https:/my.host.com/path/to/file.ext" ,It lost one backslash.

hxsf commented 6 years ago

yes, path.join can not use to format URL.

@thonatos Maybe we should use a another function or just use origin + result.name.