Enabling CORS

How to enable Cross-Origin Resource Sharing in your cloud buckets.

In order to visualize you data, please enable CORS in the buckets containing the Deep Lake dataset and any source data in linked tensors, by inserting the snippet below in the CORS section of the Permissions tab for the bucket:

[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "HEAD"
        ],
        "AllowedOrigins": [
            "*.activeloop.ai",
            "*.activeloop.dev"        
        ],
        "ExposeHeaders": []
    }
] 

Last updated