(Temporary?) hotfix for broken certification-chain of openweathermap.org.

Signed-off-by: Jens Lody <jens@jenslody.de>
master
Jens Lody 4 years ago
parent daee3c2a9a
commit ee99918d72
  1. 3
      src/extension.js

@ -1115,6 +1115,9 @@ class OpenweatherMenuButton extends PanelMenu.Button {
if (_httpSession === undefined) {
_httpSession = new Soup.Session();
_httpSession.user_agent = this.user_agent;
if (this._weather_provider == WeatherProvider.OPENWEATHERMAP) {
_httpSession.ssl_strict = false;
}
} else {
// abort previous requests.
_httpSession.abort();

Loading…
Cancel
Save