mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-22 03:29:31 -07:00
progress display
This commit is contained in:
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,
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user