start of radar images

This commit is contained in:
Matt Walsh
2020-09-04 17:03:03 -05:00
parent 382d4f9781
commit bcbc7246be
8 changed files with 373 additions and 51 deletions

View File

@@ -9,9 +9,11 @@ app.set('view engine', 'ejs');
// cors pass through
const corsPassThru = require('./cors');
const radarPassThru = require('./cors/radar');
// cors pass-thru to api.weather.gov
app.get('/stations/*', corsPassThru);
app.get('/Conus/*', radarPassThru);
const index = (req, res) => {