This commit is contained in:
yubintw
2024-03-25 21:39:05 +08:00
commit 9df48062d4
40 changed files with 15864 additions and 0 deletions

15
frontend/vite.config.ts Normal file
View File

@@ -0,0 +1,15 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
proxy: {
'/api': {
target: 'http://localhost:8888',
changeOrigin: true
}
}
}
})