From a6089401e0c6bc5ab5a171a752d19bab74535b77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E6=B1=89=E6=88=90?= <z308114274@gmail.com> Date: Wed, 30 May 2018 16:04:11 +0800 Subject: [PATCH] correct router regex (#496) --- http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http.js b/http.js index 81efcbe8..7a357349 100644 --- a/http.js +++ b/http.js @@ -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