diff --git a/webpack/production.js b/webpack/production.js index b2c98093b..39ce1d663 100644 --- a/webpack/production.js +++ b/webpack/production.js @@ -114,7 +114,7 @@ module.exports = merge(sharedConfig, { ]; if (pathname) { - return backendRoutes.some(p => pathname.startsWith(p)); + return backendRoutes.some(path => pathname.startsWith(path)); } else { return false; }