refactor: migrate backend to TypeScript

This commit is contained in:
gin
2026-06-17 17:40:12 +08:00
parent 98eae63435
commit 74acfd664f
457 changed files with 7397 additions and 25009 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => {
// 本地跨域代理 https://cn.vitejs.dev/config/server-options.html#server-proxy
proxy: {
"/dev-api": {
target: "http://localhost:8080",
target: "http://localhost:3000",
changeOrigin: true,
rewrite: path => path.replace(/^\/dev-api/, "")
}