From bf5d3b241a98829eb996132fdfe7aa41bd390494 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 11 Aug 2022 14:57:21 -0500 Subject: [PATCH] SW: don't serve /embed paths --- webpack/production.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }