#7 ぼちぼち
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: { host: true,
|
||||
port: 5173,
|
||||
strictPort: true,
|
||||
allowedHosts: ['hub.nizika.monster', 'localhost'],
|
||||
proxy: { '/api': { target: 'http://localhost:3002',
|
||||
changeOrigin: true,
|
||||
secure: false } } }
|
||||
})
|
||||
Reference in New Issue
Block a user