Sheherezadhe / awair-uploader

GNU General Public License v3.0
121 stars 57 forks source link

Content Security Policy includes test in Wearable API URL #22

Open mrpubnight opened 2 years ago

mrpubnight commented 2 years ago

The current CSP in package.json (line 54) is set to:

"devContentSecurityPolicy": "connect-src 'self' http://wearableapi.test.planetwatch.io http://login.planetwatch.io https://developer-apis.awair.is 'unsafe-eval'",

Need to remove "test" from the Wearable API in order to get my sensors (at least for me).

"devContentSecurityPolicy": "connect-src 'self' http://wearableapi.planetwatch.io http://login.planetwatch.io https://developer-apis.awair.is 'unsafe-eval'",

I tried to create a PR but kept getting 403s from github on the git push.

wwadge commented 2 years ago

PR here: https://github.com/Sheherezadhe/awair-uploader/pull/32