Reading through the Sentry doc and their forum, sometimes it's mandatory to upload files with ~ instead of the full path with host and protocol.
So instead of uploading the files like:
https://xxx.cloudfront.net/assets/vendor-7d31c95933a91ffe617f81efb6478c75.js
it should be uploaded as:
~/assets/vendor-7d31c95933a91ffe617f81efb6478c75.js
This allow to ignore the the host and protocol. This can be useful in some case for example, when you want to access assets from multiple origins.