Finalize CRM transformation, mobile responsiveness, and Qdrant integration

This commit is contained in:
2026-06-06 13:31:31 +05:30
parent a162fa89e5
commit 59fc91f034
45 changed files with 2052 additions and 4430 deletions

View File

@@ -12,6 +12,20 @@ export default defineConfig({
},
server: {
port: 3000,
open: true
open: true,
// Proxy Qdrant so the api-key stays server-side and the browser avoids CORS.
// Frontend calls /qdrant/... → forwarded to the Qdrant cluster with the key injected.
proxy: {
'/qdrant': {
target: 'http://66.116.207.225:6333',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/qdrant/, ''),
configure: (proxy) => {
proxy.on('proxyReq', (proxyReq) => {
proxyReq.setHeader('api-key', 'Package@321#');
});
}
}
}
}
});