Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
## Cors Support ##

CORS Support

Hi All,
I'm running a self-hosted ClearML server and I want to enable CORS on the fileserver, specifically
Access-Control-Expose-Headers: "Accept-Ranges"
I see that there is a CORS setting in /opt/clearml/config/apiserver.conf , but it is limited to these settings:

cors {
origins: "*"

# Not supported when origins is "*"
supports_credentials: true
}

Any idea how to add headers settings? (add header and expose header)
thanks,

  
  
Posted 2 years ago
Votes Newest

Answers 4


Well, we always welcome contributions 🙂

  
  
Posted 2 years ago

SuccessfulKoala55 - Ok, new question that might focus this down:

I want to be able to query the fileserver using HTTP URLs that have "Accept-Ranges" in the header. I exposed this in the apiserver.conf but this does not affect the file server, only the web-server. Any chance to add a fileserver.conf to enable this functionallity?

  
  
Posted 2 years ago

Thanks SuccessfulKoala55 - I will take a look. It is worth adding this information somewhere in the documentation though 🤓

  
  
Posted 2 years ago

Hi HugeArcticwolf77 , this configuration dict basically goes to the Flask-CORS plugin, with the following initialization options: https://flask-cors.corydolphin.com/en/latest/api.html

  
  
Posted 2 years ago
971 Views
4 Answers
2 years ago
one year ago
Tags