Skip to content
Permalink
Browse files

fix: wrong devMiddleware in non-modern dev mode

  • Loading branch information...
clarkdo committed Dec 28, 2018
1 parent 197be14 commit 35151150fde5ad21087f14bf22cf1acf0f150979
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/server/src/middleware/modern.js
@@ -47,7 +47,7 @@ const setModernMode = (req, options) => {
if (options.modern === 'server') {
req.modernMode = isModernBrowser
}
if (options.dev) {
if (options.dev && !!options.modern) {
req.devModernMode = isModernBrowser
}
}

0 comments on commit 3515115

Please sign in to comment.
You can’t perform that action at this time.