Commit 4863802
committed
feat: add prefix-without-leading-slash to s3 URLs
In previous versions, when a prefix is set in flysystem+s3 urls, it preservers a leading slash as first character.
In S3 this is not desirable, since it will add a directory with "/" an URLs will result in double slash https://bucket.s3-domain//prefix/...
Since this cannot be fixed without getting a BC, we add a parameter to get a correct behavior.1 parent 4281a96 commit 4863802
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
0 commit comments