mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-06 05:30:07 +00:00
fix: ignore swagger path
This commit is contained in:
@@ -53,7 +53,7 @@ export default defineConfig({
|
|||||||
clientsClaim: true,
|
clientsClaim: true,
|
||||||
skipWaiting: true,
|
skipWaiting: true,
|
||||||
cleanupOutdatedCaches: true,
|
cleanupOutdatedCaches: true,
|
||||||
navigateFallbackDenylist: [/^\/dashboard/],
|
navigateFallbackDenylist: [/^\/dashboard/, /^\/swagger/],
|
||||||
runtimeCaching: [
|
runtimeCaching: [
|
||||||
{
|
{
|
||||||
urlPattern: /^https:\/\/fonts\.googleapis\.com\/.*/i,
|
urlPattern: /^https:\/\/fonts\.googleapis\.com\/.*/i,
|
||||||
|
|||||||
Reference in New Issue
Block a user