refactor: 移除java项目,改用hono + vercel function实现后端 (#1)
Co-authored-by: gin <gin-18@qq.com> Co-authored-by: gin <dengxinmin@owlscm.com> Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
@@ -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/, "")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user