kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
SW: don't serve /embed paths
rodzic
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;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue