diff --git a/webpack/production.js b/webpack/production.js index 43792e97c..6e2f6d810 100644 --- a/webpack/production.js +++ b/webpack/production.js @@ -120,7 +120,7 @@ module.exports = merge(sharedConfig, { ]; if (pathname) { - return backendRoutes.some(path => pathname.startsWith(path)); + return backendRoutes.some(path => pathname.startsWith(path)) || pathname.endsWith('/embed'); } else { return false; }