SW: don't serve /embed paths

This commit is contained in:
Alex Gleason 2022-08-11 14:57:21 -05:00
parent cc5bb8b8e4
commit bf5d3b241a
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}