jakeFeldman / strapi-provider-upload-azure-storage

Strapi Provider Upload Azure Storage
MIT License
75 stars 42 forks source link

Remove incorrect config.removeCN boolean expression #98

Open michaelkplai opened 3 weeks ago

michaelkplai commented 3 weeks ago

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.