This commit is contained in:
2024-09-10 10:49:08 +08:00
parent b5fd06b800
commit dd4f5938da
6391 changed files with 722800 additions and 0 deletions

17
vite.config.js Normal file
View File

@@ -0,0 +1,17 @@
import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
export default defineConfig({
plugins: [
uni()
],
server: {
proxy: {
'/server3': {
target: 'http://101.37.12.135:8080', // 目标服务
changeOrigin: true,
rewrite: path => path.replace(/^\/server3/, ''),
}
}
}
})