Update vite.config.ts

This commit is contained in:
2025-12-20 02:51:25 +00:00
parent 0bfc6ffb19
commit 379ef2a151

View File

@@ -9,6 +9,10 @@ export default defineConfig(({ mode }) => {
port: 3000, port: 3000,
host: '0.0.0.0', host: '0.0.0.0',
}, },
preview: {
port: 3000,
host: '0.0.0.0',
},
plugins: [react()], plugins: [react()],
define: { define: {
'process.env.API_KEY': JSON.stringify(env.GEMINI_API_KEY), 'process.env.API_KEY': JSON.stringify(env.GEMINI_API_KEY),