Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

chore: exclude robots.txt and sitemap.xml from using fallback navigation (#2706)

Akash Kf01e0b888de3
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({