progress display

This commit is contained in:
Matt Walsh
2020-09-08 14:39:17 -05:00
parent 3825397c78
commit 560d3a8cb2
16 changed files with 131 additions and 327 deletions

View File

@@ -15,15 +15,19 @@ const radarPassThru = require('./cors/radar');
app.get('/stations/*', corsPassThru);
app.get('/Conus/*', radarPassThru);
// version
const version = require('./version');
const index = (req, res) => {
res.render(path.join(__dirname, 'views/index'), {
production: false,
version,
});
};
const twc3 = (req, res) => {
res.render(path.join(__dirname, 'views/twc3'), {
production: false,
version,
});
};