perf:增加proxy代理

This commit is contained in:
曾文豪
2022-05-20 14:32:12 +08:00
parent cc490f674e
commit dafb9634e6
2 changed files with 24 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
import {defineConfig} from 'umi';
import proxy from './proxy';
export default defineConfig({
publicPath: "./",
@@ -9,6 +10,6 @@ export default defineConfig({
hash: true,
history: {
type: "browser"
}
},
proxy
});