weather-widget
weather-widget copied to clipboard
Error message
(node:11416) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use node-x64 --trace-warnings ...
to show where the warning was created)
{"code":400,"error":"Poorly formatted request","location":"NOT LEAKING MY LOCATION"}
I think this can be fixed either in the Widget or in Uebersicht itself. I posted about this here:
https://github.com/felixhageloh/uebersicht/issues/478
The fix is to just change line 4 of get-weather.js to:
process.env.NODE_TLS_REJECT_UNAUTHORIZED = 1;