Correct weather proxy path

This commit is contained in:
2026-06-21 09:03:38 -04:00
parent 99a6a294ba
commit 31a8a43225
+1 -1
View File
@@ -2,7 +2,7 @@
const weatherBase = (import.meta.env.PUBLIC_WEATHER_BASE ?? 'https://wx.swansea-airport.wales').replace(/\/$/, ''); const weatherBase = (import.meta.env.PUBLIC_WEATHER_BASE ?? 'https://wx.swansea-airport.wales').replace(/\/$/, '');
const mqttHost = import.meta.env.PUBLIC_WEATHER_MQTT_HOST ?? `${weatherBase}/mqtt`; const mqttHost = import.meta.env.PUBLIC_WEATHER_MQTT_HOST ?? `${weatherBase}/mqtt`;
const archiveEndpoint = `${weatherBase}/agcs/archive.php`; const archiveEndpoint = `${weatherBase}/agcs/archive.php`;
const pressureEndpoint = `${weatherBase}/wlproxy.php?api=current/195562`; const pressureEndpoint = `${weatherBase}/agcs/wlproxy.php?api=current/195562`;
--- ---
<section class="weather-shell" aria-labelledby="weather-heading"> <section class="weather-shell" aria-labelledby="weather-heading">