mbari-org / pythia

ML service for images
Apache License 2.0
0 stars 0 forks source link

UI fails in Google Chrome due to CORS-RFC1918 #2

Closed hohonuuli closed 1 year ago

hohonuuli commented 1 year ago

On Google Chrome, The UI fails when calling the inference endpoint on a non-https endpoint due to it's implementation of the recent Private Network Access specification. The UI works in Safari (not tested yet in other browsers)

hohonuuli commented 1 year ago

The quick fix was to add the header Access-Control-Allow-Local-Network: true to all responses