Update vite.config.ts
This commit is contained in:
@@ -9,6 +9,10 @@ export default defineConfig(({ mode }) => {
|
||||
port: 3000,
|
||||
host: '0.0.0.0',
|
||||
},
|
||||
preview: {
|
||||
port: 3000,
|
||||
host: '0.0.0.0',
|
||||
},
|
||||
plugins: [react()],
|
||||
define: {
|
||||
'process.env.API_KEY': JSON.stringify(env.GEMINI_API_KEY),
|
||||
|
||||
Reference in New Issue
Block a user