Enabling CORS

How to enable Cross-Origin Resource Sharing in your Azure account.

Enabling CORS in Azure for Data Visualization

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.

Steps for enabling CORS in Azure

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 originsAllowed methodsAllowed headers

https://app.activeloop.ai

GET, HEAD

*

https://app-dev.activeloop.dev

GET, HEAD

*

https://app-staging.activeloop.dev

GET

*