Commit a6089401 authored by 周汉成's avatar 周汉成 Committed by Renée Kooi
Browse files

correct router regex (#496)

parent 1b5c9591
...@@ -36,7 +36,7 @@ function start (entry, opts) { ...@@ -36,7 +36,7 @@ function start (entry, opts) {
if (name === 'styles:bundle') emitter.emit('styles:bundle', node) 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) { compiler.manifest(function (err, node) {
if (err) { if (err) {
res.statusCode = 404 res.statusCode = 404
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment