Skip to content

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

fix(self-hosted/web): add "useCredentials: true" to Vite PWA options (#3460)

Michel Tomasa89bc473f6e3
diff --git a/packages/hoppscotch-selfhost-web/vite.config.ts b/packages/hoppscotch-selfhost-web/vite.config.ts
index 604d22f82..fa8329dfa 100644
--- a/packages/hoppscotch-selfhost-web/vite.config.ts
+++ b/packages/hoppscotch-selfhost-web/vite.config.ts
@@ -147,6 +147,7 @@ export default defineConfig({
},
}),
VitePWA({
+ useCredentials: true,
manifest: {
name: APP_INFO.name,
short_name: APP_INFO.name,