Warning about - getGamepad will now require Secure Context

I have this one odd warning in the babylon app, it says:
gamepadManager.ts:227 getGamepad will now require Secure Context. Please update your application accordingly. For more information see Require secure context for gamepad state and events by nondebug · Pull Request #120 · w3c/gamepad · GitHub

what should I do about that? thank you :slight_smile:

1 Like

You will need to serve the application using a secure connection (which in general means - serving the page over https instead of http).

1 Like

ah great great, I am doing it already, its just that in react during development I use http, then in production i have https, ok great then it only happens in dev mode, thank you :slight_smile:

2 Likes