In progress, add global radar support using RainViewer and Leaflet
This commit is contained in:
parent
7098414f67
commit
81e0fc2bc0
9 changed files with 217 additions and 224 deletions
|
|
@ -57,3 +57,10 @@ export const openMeteoProxy = async (req, res) => {
|
|||
skipParams: ['u'],
|
||||
});
|
||||
};
|
||||
|
||||
export const rainViewerProxy = async (req, res) => {
|
||||
await cache.handleRequest(req, res, 'https://api.rainviewer.com', {
|
||||
serviceName: 'RainViewer',
|
||||
skipParams: ['u'],
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue