SW: don't serve /embed paths
This commit is contained in:
parent
cc5bb8b8e4
commit
bf5d3b241a
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue