mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-17 17:19:30 -07:00
start of radar images
This commit is contained in:
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) => {
|
||||
|
||||
Reference in New Issue
Block a user