Skip to content

Commit

Permalink
correct router regex (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhanseng authored and goto-bus-stop committed May 30, 2018
1 parent 1b5c959 commit a608940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function start (entry, opts) {
if (name === 'styles:bundle') emitter.emit('styles:bundle', node)
})

router.route(/^\/manifest.json$/, function (req, res, params) {
router.route(/^\/manifest\.json$/, function (req, res, params) {
compiler.manifest(function (err, node) {
if (err) {
res.statusCode = 404
Expand Down

0 comments on commit a608940

Please sign in to comment.