[30a88f42] feat: Centralize API key handling and fix product enrichment\n\n- Centralized GEMINI_API_KEY loading from project root .env file.\n- Corrected product enrichment: added /enrich-product endpoint in Node.js, implemented mode in Python backend, and updated frontend to use new API for product analysis.\n- Fixed to pass product data correctly for enrichment.\n- Updated documentation ().

This commit is contained in:
2026-02-17 07:14:51 +00:00
parent 06ef8c00ec
commit 53d791d4e2
6 changed files with 94 additions and 13 deletions

View File

@@ -3,7 +3,7 @@ import { defineConfig, loadEnv } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, '.', '');
const env = loadEnv(mode, '../', '');
return {
base: '/b2b/',
server: {