From f01e0b888de34965fb6b7339c800e966d67ba44b Mon Sep 17 00:00:00 2001 From: Akash K <57758277+amk-dev@users.noreply.github.com> Date: Sun, 2 Oct 2022 16:39:10 +0530 Subject: [PATCH] chore: exclude robots.txt and sitemap.xml from using fallback navigation (#2706) --- packages/hoppscotch-app/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/hoppscotch-app/vite.config.ts b/packages/hoppscotch-app/vite.config.ts index 9e5a877e7..c8b76e5b6 100644 --- a/packages/hoppscotch-app/vite.config.ts +++ b/packages/hoppscotch-app/vite.config.ts @@ -138,6 +138,7 @@ export default defineConfig({ workbox: { cleanupOutdatedCaches: true, maximumFileSizeToCacheInBytes: 4194304, + navigateFallbackDenylist: [/robots.txt/, /sitemap.xml/] }, }), VitePluginFonts({