Fix Wetter-API-Pfad (/api/api/ → /api/), API.weather.get(), SW by-v322
This commit is contained in:
parent
d32b802649
commit
d72ee6f89f
4 changed files with 4 additions and 3 deletions
|
|
@ -401,6 +401,7 @@ const API = (() => {
|
|||
// ----------------------------------------------------------
|
||||
const weather = {
|
||||
alerts(lat, lon) { return get(`/weather/alerts?lat=${lat}&lon=${lon}`); },
|
||||
get(lat, lon) { return get(`/weather?lat=${lat}&lon=${lon}`); },
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue