mirror of
https://github.com/clearml/clearml-docs
synced 2025-01-31 06:27:22 +00:00
Add ClearML Server CORS configuration info (#290)
This commit is contained in:
parent
4af6e4e866
commit
4b1e80dea7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user