Closed hananbeer closed 3 years ago
figured it out. needed to serve over https. (at least in FireFox on Quest 2)
edited webpack.config.js to add the following:
devServer: {
disableHostCheck: true,
https: {
key: fs.readFileSync('./tls/private.key'),
cert: fs.readFileSync('./tls/certificate.crt'),
}
}
and simply ignored the self-sign warning for the sake of development.
actually the game seems to work, I just can't enter VR mode in the browser when serving from my computer. how can I debug this? (Oculus Quest 2)