progress display
This commit is contained in:
parent
3825397c78
commit
560d3a8cb2
16 changed files with 131 additions and 327 deletions
4
index.js
4
index.js
|
|
@ -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,
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue