get outlook data

This commit is contained in:
Matt Walsh
2020-09-23 14:43:49 -05:00
parent 37eb88a90d
commit 24855fd959
4 changed files with 175 additions and 4 deletions

View File

@@ -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');