Add ClearML Server CORS configuration info (#290)

This commit is contained in:
pollfly 2022-07-12 12:33:45 +03:00 committed by GitHub
parent 4af6e4e866
commit 4b1e80dea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,6 +326,23 @@ Modify the following settings for the watchdog:
1. Restart ClearML Server.
### CORS Configuration
To enable CORS on your ClearML File Server, edit the ClearML Server's `/opt/clearml/config/apiserver.conf` file's `cors`
section. For example:
```
cors {
origins: "*"
# Not supported when origins is "*"
supports_credentials: true
}
```
See the [Flask-Cors documentation](https://flask-cors.corydolphin.com/en/latest/api.html) for detailed initialization
options.
### Custom UI Context Menu Actions
:::note Enterprise Feature