mootoday / ghost-v3-google-cloud-storage

A Google Cloud Storage adapter for Ghost v3 (www.ghost.org).
13 stars 7 forks source link

Fix path handling in read function #6

Closed cheungpat closed 4 years ago

cheungpat commented 4 years ago

Ghost calls the read() function with full URL of a file, hence the asset domain prefix should be removed from path first, before fetching the file from GCS.

refs #1

mikenikles commented 4 years ago

@cheungpat Thanks so much for your bug fixes and contributions!

cheungpat commented 4 years ago

@mikenikles No problem! Thanks for creating this project!

mikenikles commented 4 years ago

Released as version 1.4.0.