diff --git a/frontend/index.html b/frontend/index.html index 7145d7ca..351990a3 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -177,14 +177,6 @@
-
-
- - diff --git a/frontend/vite.config.js b/frontend/vite.config.js index acc963c0..292f13fe 100644 --- a/frontend/vite.config.js +++ b/frontend/vite.config.js @@ -24,8 +24,9 @@ export default defineConfig({ display: 'standalone', name: 'Frappe CRM', short_name: 'Frappe CRM', - start_url: "/crm", - description: 'Modern & 100% Open-source CRM tool to supercharge your sales operations', + start_url: '/crm', + description: + 'Modern & 100% Open-source CRM tool to supercharge your sales operations', icons: [ { src: '/assets/crm/manifest/manifest-icon-192.maskable.png', @@ -54,6 +55,25 @@ export default defineConfig({ ], }, }), + { + name: 'transform-index.html', + transformIndexHtml(html, context) { + if (!context.server) { + return html.replace( + /<\/body>/, + ` + + + ` + ) + } + return html + }, + }, ], resolve: { alias: {