mirror of
https://github.com/Unkn0wnCat/data-toolbox-site.git
synced 2025-04-29 18:16:21 +02:00
Allow non-navigation caching
This commit is contained in:
parent
de44b2c0a8
commit
26fb1a787e
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@ registerRoute(
|
|||
// Return false to exempt requests from being fulfilled by index.html.
|
||||
({ request, url }) => {
|
||||
// If this isn't a navigation, skip.
|
||||
if (request.mode !== 'navigate') {
|
||||
/*if (request.mode !== 'navigate') {
|
||||
return false;
|
||||
} // If this is a URL that starts with /_, skip.
|
||||
}*/ // If this is a URL that starts with /_, skip.
|
||||
|
||||
if (url.pathname.startsWith('/_')) {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue