CORS policy with valid SSL

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
hikcity
Posts: 10
Joined: Sun Dec 13, 2020 2:54 pm

CORS policy with valid SSL

Post by hikcity »

I have a small problem with CORS policy related to the topic
viewtopic.php?f=40&t=30272
browser console:

Code: Select all

?view=watch&mid=9:1 Access to XMLHttpRequest at 'tcp://domain579.com:554/zm/index.php?view=request&request=status&entity=events&id=9&count=20&sort=Id%20desc&auth=6a7b3ac95fb6409513a857a8463f9c50' from origin 'https://domain579.com' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, brave, chrome-untrusted, https.
tcp://domain579.com:554/zm/index.php?view=request&request=status&entity=events&id=9&count=20&sort=Id%20desc&auth=6a7b3ac95fb6409513a857a8463f9c50:1 Failed to load resource: net::ERR_FAILED
I tried mod_headers and .htaccess trick "Header add Access-Control-Allow-Origin" but so far no luck.
Is any way to get it done?
Thank you for watching
Post Reply