ifvictr / ghost-storage-github

:octocat: GitHub storage adapter for Ghost
https://npm.im/ghost-storage-github
MIT License
65 stars 12 forks source link

Fix destination option #25

Closed ScottSmith95 closed 5 years ago

ScottSmith95 commented 5 years ago

If the destination folder is set, it will be repeated on save. (e.g. if the destination folder is set to example/, the file will be saved to example/file.ext but will be saved by Ghost as example/example/file.ext.) This change fixes that by referencing the file name only.