Init
This commit is contained in:
commit
c048377bcc
32 changed files with 4748 additions and 0 deletions
15
frontend/vite.config.ts
Normal file
15
frontend/vite.config.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
server: {
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue