I can make a PR to handle this hardcoded behavior and let any custom domain to be used but I'd like first to discuss on what can be the best way to go ?:
Add a new option blobDomain
Eg: x33.blob.storage.azure.net
Add a new option containerUri and let the lib extract the domain
I tried to connect to my cloud Azure blob given the connection parameters I get from my provider, which looks like the following:
I noticed that when dealing with a SAS Token the lib enforces an hardcoded value for the azure blob domain
.blob.core.windows.net
: https://github.com/tweedegolf/storage-abstraction/blob/dd7fafaed0c4586af67e35ef4259ab76541feb41/src/AdapterAzureBlob.ts#L90-L100I can make a PR to handle this hardcoded behavior and let any custom domain to be used but I'd like first to discuss on what can be the best way to go ?:
blobDomain
x33.blob.storage.azure.net
containerUri
and let the lib extract the domainhttps://abcdefghijklht0s.x33.blob.storage.azure.net/whatfg-llmm-8b503226-27ee-41d1-8bd6-f87908b2e767-jkl
What's your take on this ? Thanks !