pmndrs / xr

🤳 VR/AR for react-three-fiber
https://pmndrs.github.io/xr/docs/
Other
2.12k stars 152 forks source link

Enable http with a flag #315

Closed 99Arrzel closed 2 months ago

99Arrzel commented 3 months ago

in XR.tsx allow the isHttps flag to be ignored, this could help to work this in development mode. const isHttps = location.protocol === 'https:'

bbohlender commented 2 months ago

WebXR can only be used with https per spec.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.