-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize path #14
base: main
Are you sure you want to change the base?
Normalize path #14
Conversation
I see. That means any "path" for S3 side must use |
After some investigation, I believe the correct way to do this is to change the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use path/posix
instead of patching the behavior using a regex, as outlined in my last comment.
I tried replacing In order to fix it with |
Hmm, then there's no way to do it in a clean way in the scope of this project. Maybe you can raise an issue upstream and see if they can provide a better way to handle this? I imagine they can require an optional If that sounds good please pitch this to Ghost and let's see if they're willing to provide that infra for us (and pretty much every Object Storage service based adapters). Otherwise we may have to do this behind an option, as |
Hello!
Thank you for supporting this s3 storage adapter!
Could you please take a look at this request: I want to add step with replacing
\
with/
in order to get ability to run ghost instance with this plugin on windows for local debuging purposes. Whilefs.join
and other functions fromfs
package return by default path this backslashes\
, so all links to aws become broken. This PR fixes such issue. Please accept this PR if you find it useful.