first commit

This commit is contained in:
wtq
2025-11-13 10:16:36 +08:00
commit cbdb6758a0
394 changed files with 57767 additions and 0 deletions

18
vite.config.ts Normal file
View File

@@ -0,0 +1,18 @@
import { defineConfig } from "vite";
import uni from "@dcloudio/vite-plugin-uni";
export default defineConfig({
plugins: [uni()],
server: {
proxy: {
// 代理头
"/jx": {
//target是代理的目标路径
target: "https://wx.jxc4.com",
changeOrigin: true, //必须要开启跨域
//rewrite 使用正则吧 /jx 替换为 空字符
rewrite: (path) => path.replace(/\/jx/, "")
},
},
},
});