Skip to content

Commit

Permalink
fix: modify build aciton (#407)
Browse files Browse the repository at this point in the history
Signed-off-by: liuying <[email protected]>
  • Loading branch information
lysign authored Sep 4, 2023
1 parent cc5f93f commit fc658ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/buid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Build
run: |
yarn install
yarn run build
yarn run build-with-args true
- name: Compress
run: |
Expand Down
8 changes: 8 additions & 0 deletions config/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ module.exports = (env = {}) => {
};

devServer.proxy = {
'/apis/cluster': {
target: `https://${devIp}`,
secure: false,
changeOrigin: true,
pathRewrite: {
'^/apis/cluster/': '/cluster-proxy/',
},
},
'/apis': {
target: `https://${devIp}`, //9节点 172.20.151.92:8099
secure: false,
Expand Down

0 comments on commit fc658ad

Please sign in to comment.