mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
style: run prettier
This commit is contained in:
@@ -20,7 +20,7 @@ registerRoute(
|
||||
// match index.html
|
||||
({ url }) => url.pathname === '/',
|
||||
// serve cached index.html first but revalidate in background
|
||||
new StaleWhileRevalidate()
|
||||
new StaleWhileRevalidate(),
|
||||
);
|
||||
|
||||
// Precache all of the assets generated by your build process.
|
||||
@@ -51,7 +51,7 @@ registerRoute(
|
||||
|
||||
return true;
|
||||
},
|
||||
createHandlerBoundToURL(process.env.PUBLIC_URL + '/index.html')
|
||||
createHandlerBoundToURL(process.env.PUBLIC_URL + '/index.html'),
|
||||
);
|
||||
|
||||
// An example runtime caching route for requests that aren't handled by the
|
||||
@@ -66,7 +66,7 @@ registerRoute(
|
||||
// least-recently used images are removed.
|
||||
new ExpirationPlugin({ maxEntries: 50 }),
|
||||
],
|
||||
})
|
||||
}),
|
||||
);
|
||||
|
||||
// This allows the web app to trigger skipWaiting via
|
||||
|
||||
Reference in New Issue
Block a user