strapi-provider-upload-azure-storage icon indicating copy to clipboard operation
strapi-provider-upload-azure-storage copied to clipboard

Remove incorrect config.removeCN boolean expression

Open michaelkplai opened this issue 4 months ago • 0 comments

JavaScript evaluates the expression config.removeCN == 'true' is evaluated as false when config.removeCN is set to true. This means that the container name was never being removed, even when removeCN was set as true.

As a workaround you can set removeCN: 'true' in the meantime. If this behaviour is intended, it may be helpful to update the docs to state that this config value must be a string.

michaelkplai avatar Sep 28 '24 08:09 michaelkplai