get outlook data
This commit is contained in:
parent
37eb88a90d
commit
24855fd959
4 changed files with 175 additions and 4 deletions
2
index.js
2
index.js
|
|
@ -10,10 +10,12 @@ app.set('view engine', 'ejs');
|
|||
// cors pass through
|
||||
const corsPassThru = require('./cors');
|
||||
const radarPassThru = require('./cors/radar');
|
||||
const outlookPassThru = require('./cors/outlook');
|
||||
|
||||
// cors pass-thru to api.weather.gov
|
||||
app.get('/stations/*', corsPassThru);
|
||||
app.get('/Conus/*', radarPassThru);
|
||||
app.get('/products/*', outlookPassThru);
|
||||
|
||||
// version
|
||||
const version = require('./version');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue