Correct weather proxy path
This commit is contained in:
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user