add international forecast support with Open-Meteo
This commit is contained in:
parent
91cc2bd663
commit
7098414f67
19 changed files with 566 additions and 899 deletions
|
|
@ -50,3 +50,10 @@ export const forecastProxy = async (req, res) => {
|
|||
skipParams: ['u'],
|
||||
});
|
||||
};
|
||||
|
||||
export const openMeteoProxy = async (req, res) => {
|
||||
await cache.handleRequest(req, res, 'https://api.open-meteo.com', {
|
||||
serviceName: 'Open-Meteo',
|
||||
skipParams: ['u'],
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue