summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2019-02-06 03:39:36 +0000
committerjao <jao@gnu.org>2019-02-06 03:39:36 +0000
commite1e901c1b2e7b821ef10c8c0622b8ae7094a7518 (patch)
tree0dfe142d20e222d2636ace50d54cea7c9db3bcb4 /src/Xmobar/Plugins
parent8f9d33ae045a97ebd0d7c0370be0216895c7b084 (diff)
downloadxmobar-e1e901c1b2e7b821ef10c8c0622b8ae7094a7518.tar.gz
xmobar-e1e901c1b2e7b821ef10c8c0622b8ae7094a7518.tar.bz2
Weather plugin: station URL updated to https
But, since simpleHTTP doesn't support HTTPS, the plugin only works when one compiles with `with_counduit`, which brings in an insane number of new deps. See #378
Diffstat (limited to 'src/Xmobar/Plugins')
-rw-r--r--src/Xmobar/Plugins/Monitors/Weather.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Xmobar/Plugins/Monitors/Weather.hs b/src/Xmobar/Plugins/Monitors/Weather.hs
index cb5bf07..48f48fd 100644
--- a/src/Xmobar/Plugins/Monitors/Weather.hs
+++ b/src/Xmobar/Plugins/Monitors/Weather.hs
@@ -183,8 +183,7 @@ parseData =
return [WI st ss y m d h w v sk tC tF dC dF rh p]
defUrl :: String
--- "http://weather.noaa.gov/pub/data/observations/metar/decoded/"
-defUrl = "http://tgftp.nws.noaa.gov/data/observations/metar/decoded/"
+defUrl = "https://tgftp.nws.noaa.gov/data/observations/metar/decoded/"
stationUrl :: String -> String
stationUrl station = defUrl ++ station ++ ".TXT"