added LITE env var in express render
This commit is contained in:
parent
23721dba97
commit
3b1885a96f
@ -11,7 +11,7 @@ app.use(bodyParser.urlencoded({ extended: false }));
|
||||
app.use(express.static(path.join(__dirname, '../dist')));
|
||||
|
||||
app.get('/', function(req, res) {
|
||||
res.render('index');
|
||||
res.render((process.env.LITE === true ? 'index-lite' : 'index'));
|
||||
});
|
||||
|
||||
// catch 404 and forward to error handler
|
||||
|
Loading…
Reference in New Issue
Block a user