start of radar images
This commit is contained in:
parent
382d4f9781
commit
bcbc7246be
8 changed files with 373 additions and 51 deletions
2
index.js
2
index.js
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue