Created an example page with perf stats

This commit is contained in:
Jamie Dixon
2016-10-24 17:30:47 +01:00
parent 23b9caca67
commit 2d486bde89
3 changed files with 105 additions and 3 deletions

View File

@@ -25,6 +25,10 @@ const port = 3000
app.use(Express.static('dist'))
app.get('/with-perf.html', (req, res) => {
res.sendFile(path.join(__dirname, 'with-perf.html'))
})
app.get('/*', (req, res) => {
res.sendFile(path.join(__dirname, 'index.html'))
})