This commit is contained in:
2026-04-14 20:08:35 +08:00
parent 1661ed7cda
commit 2953172227
24 changed files with 2388 additions and 103 deletions
+15
View File
@@ -0,0 +1,15 @@
import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
export default defineConfig({
plugins: [uni()],
server: {
proxy: {
'/api': {
target: 'http://192.168.13.105',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '/api')
}
}
}
})