Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const createStaticAssetsRoute = () => {
return new Route(staticAssetsMatcher, staticAssetsStrategy);
};
export const createPrecacheRoute = () => {
return new Route(precacheMatcher, precacheHandler);
};
export const createShellRoute = () => {
return new Route(shellMatcher, shellStrategy);
};
export const createPagesRoute = () => {
return new Route(pagesMatcher, pagesHandler);
};
export const createContentRoute = () => {
return new Route(contentMatcher, contentStrategy);
};
export const createThirdPartyAssetsRoute = () => {
return new Route(thirdPartyAssetsMatcher, thirdPartyAssetsStrategy);
};