Skip to content

Commit

Permalink
Server now serves manifest.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
kallaspriit committed Aug 10, 2016
1 parent 24a04cc commit c4ca80a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const app = express();
app.use('/gfx', express.static(path.join(basePath, 'gfx')));
app.use('/static', express.static(path.join(basePath, 'static')));

app.get('/manifest.json', (req, res) => {
res.sendFile(path.join(basePath, 'manifest.json'));
});

app.get('*', (req, res) => {
res.sendFile(path.join(basePath, 'index.html'));
});
Expand Down

0 comments on commit c4ca80a

Please sign in to comment.