Merge branch 'jxxghp:main' into main

This commit is contained in:
falling
2024-06-17 09:54:30 +08:00
committed by GitHub

View File

@@ -10,7 +10,7 @@ cleanupOutdatedCaches()
precacheAndRoute(self.__WB_MANIFEST)
// to allow work offline
registerRoute(new NavigationRoute(createHandlerBoundToURL('index.html'), { denylist: [/^\/api/] }))
registerRoute(new NavigationRoute(createHandlerBoundToURL('index.html'), { denylist: [/^(\/[\w-]+)*\/api/] }))
// 通知选项
const options = {