Enabling CORS
How to enable Cross-Origin Resource Sharing in your Azure account.
How to enable Cross-Origin Resource Sharing in your Azure account.
Cross-Origin Resource Sharing (CORS) is typically enabled by default in Azure. If that's not the case in your Azure account, in order to visualize Deep Lake datasets stored in your own Azure storage in the Deep Lake app, please enable CORS in the storage account containing the Deep Lake dataset and any source data in linked tensors.
1. Login to the Azure.
2. Navigate to the Storage account
with the relevant data.
3. Open the Resource sharing (CORS)
section on the left nav.
4. Add the following items to the permissions.
Allowed origins | Allowed methods | Allowed headers |
---|---|---|
https://app.activeloop.ai
GET, HEAD
*
https://app-dev.activeloop.dev
GET, HEAD
*
https://app-staging.activeloop.dev
GET
*