Merge branch 'dev' of http://62.234.3.186:3000/sxyanzhu/jhprjv2 into dev
commit
577d3b57ec
|
@ -54,11 +54,11 @@
|
|||
<script>
|
||||
import { listByProject } from "@/api/project/build_node_data.js";
|
||||
import { getToken } from "@/utils/auth";
|
||||
import NodeItem from "./nodeItem.vue";
|
||||
|
||||
export default {
|
||||
name: "RuoyiUiBuildNodeDrawer",
|
||||
components: {
|
||||
NodeItem,
|
||||
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
|
|
@ -32,16 +32,29 @@ module.exports = {
|
|||
host: '0.0.0.0',
|
||||
port: port,
|
||||
open: true,
|
||||
proxy: {
|
||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
target: `http://localhost:8090/jhapi`,
|
||||
//target: `http://62.234.3.186/jhapi`,
|
||||
proxy: {
|
||||
'/jhapi/profile':{
|
||||
target: `http://62.234.3.186/jhapi/profile/`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
['^' + process.env.VUE_APP_BASE_API]: ''
|
||||
'^/jhapi/profile':'/'
|
||||
}
|
||||
}
|
||||
},
|
||||
'/jhapi':{
|
||||
target: `http://62.234.3.186/jhapi/`,
|
||||
//target: `http://127.0.0.1:8090/jhapi/`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/jhapi':'/'
|
||||
}
|
||||
},
|
||||
'/profile':{
|
||||
target: `http://62.234.3.186/profile/`,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
'^/profile':'/'
|
||||
}
|
||||
}
|
||||
},
|
||||
disableHostCheck: true
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue