Closed dguayrobotiq closed 6 years ago
@dguayrobotiq Congrats on getting this figured out! Is there any reason to have both publicUrl and urlPrefix? It seems like they are used for the same purpose.
Gosh I feel so dumb. I think you're right and my PR is useless. By reading the README, I really thought publicUrl
was used to retrieve files... I can actually just set publicUrl
to ~
instead of my cloudfront...
I'll test that and decline that PR...
@dguayrobotiq definitely not dumb -- other people could and will make the same mistake. Perhaps you could change the PR into a documentation PR that updates the README to clearly address information that would have helped "you" a week ago.
Fixes #47
Add
urlPrefix
option to replacepublicUrl
in the file name when uploading files to Sentry's release artifacts.If the assets are stored on Cloudfront, files would normally be named something like
https://xxxx.cloudfront.net/assets/...
in Sentry's release artifacts. If you seturlPrefix
to~
, files will instead be named~/assets/...
.