14 lines
272 B
JavaScript
14 lines
272 B
JavaScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
base: '/chat_fe',
|
|
server: {
|
|
port: 3010,
|
|
host: '0.0.0.0',
|
|
allowedHosts: ['mp.yizhezhe.com']
|
|
}
|
|
})
|