imaginevision / Z-Camera-Doc

Document for Z Camera
149 stars 46 forks source link

CORS headers #34

Closed qhulamm closed 4 years ago

qhulamm commented 5 years ago

I've built a web application to control the zcam e2 for my project. I'm having issues running it though because the camera does not send the CORS headers which does not allow my application to access/control the camera. I'm using Chrome to run my app. Can this be added?

ailike commented 5 years ago

Noted

cscarfie commented 5 years ago

Has there been any resolution to the CORS policy issue? I am building a browser based client for the E2C and am running into the same problem. .htaccess file is missing on the camera to allow wildcard CORS access. Any way to load up a custom .htaccess file?

rlamarche commented 5 years ago

A solution could be to run a proxy that send the CORS headers.

ailike commented 4 years ago

Already supported in latest release.