Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: update generateSitemap usage (#3182)
Akash K6f38bfb14845
diff --git a/packages/hoppscotch-common/package.json b/packages/hoppscotch-common/package.jsonindex 5986de983..bd998020e 100644--- a/packages/hoppscotch-common/package.json+++ b/packages/hoppscotch-common/package.json@@ -148,7 +148,7 @@"vite-plugin-html-config": "^1.0.10","vite-plugin-inspect": "^0.7.4","vite-plugin-pages": "^0.26.0",- "vite-plugin-pages-sitemap": "^1.4.0",+ "vite-plugin-pages-sitemap": "^1.4.5","vite-plugin-pwa": "^0.13.1","vite-plugin-vue-layouts": "^0.7.0","vite-plugin-windicss": "^1.8.8",diff --git a/packages/hoppscotch-selfhost-web/vite.config.ts b/packages/hoppscotch-selfhost-web/vite.config.tsindex 1ab48152c..14c1a50a4 100644--- a/packages/hoppscotch-selfhost-web/vite.config.ts+++ b/packages/hoppscotch-selfhost-web/vite.config.ts@@ -79,8 +79,7 @@ export default defineConfig({dirs: "../hoppscotch-common/src/pages",importMode: "async",onRoutesGenerated(routes) {- // HACK: See: https://github.com/jbaubree/vite-plugin-pages-sitemap/issues/173- return ((generateSitemap as any).default as typeof generateSitemap)({+ return generateSitemap({routes,nuxtStyle: true,allowRobots: true,