From 1d763e6ddd2454f2047493d5cf3a004053438927 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Mon, 23 Jun 2025 18:25:52 +0100 Subject: Update graph source URLs. --- graphs.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'graphs.php') diff --git a/graphs.php b/graphs.php index c96713a..af028fb 100644 --- a/graphs.php +++ b/graphs.php @@ -16,19 +16,19 @@ echo "

Forecasts | Graphs

\n\n"; -echo "

This page is currently slow - image caching coming soon.

\n\n"; +echo "

This page is currently slow - image caching coming one day.

\n\n"; echo "

Temperature / Rainfall

\n\n"; -file_put_contents("temp.png", file_get_contents("http://data.gov.je/JerseyMet/Town/internet.Temperature.png")); -file_put_contents("rain.png", file_get_contents("http://data.gov.je/JerseyMet/Town/internet.Rainfall.png")); +file_put_contents("temp.png", file_get_contents("https://sojpublicdata.blob.core.windows.net/jerseymet/Town/internet.Temperature.png")); +file_put_contents("rain.png", file_get_contents("https://sojpublicdata.blob.core.windows.net/jerseymet/Town/internet.Rainfall.png")); echo "

\"Temperature\" \"Rainfall\"

"; echo "

UV index / Wind

\n\n"; -file_put_contents("uv.png", file_get_contents("http://data.gov.je/JerseyMet/Town/internet.UV.png")); -file_put_contents("wind.png", file_get_contents("http://data.gov.je/JerseyMet/Town/internet.Wind.png")); +file_put_contents("uv.png", file_get_contents("https://sojpublicdata.blob.core.windows.net/jerseymet/Town/internet.UV.png")); +file_put_contents("wind.png", file_get_contents("https://sojpublicdata.blob.core.windows.net/jerseymet/Town/internet.Wind.png")); echo "

\"UV \"Wind\"

"; -- cgit v1.2.3