update code
parent
6aa8452c2d
commit
4e0dc26ff0
|
@ -54,11 +54,11 @@
|
||||||
<script>
|
<script>
|
||||||
import { listByProject } from "@/api/project/build_node_data.js";
|
import { listByProject } from "@/api/project/build_node_data.js";
|
||||||
import { getToken } from "@/utils/auth";
|
import { getToken } from "@/utils/auth";
|
||||||
import NodeItem from "./nodeItem.vue";
|
|
||||||
export default {
|
export default {
|
||||||
name: "RuoyiUiBuildNodeDrawer",
|
name: "RuoyiUiBuildNodeDrawer",
|
||||||
components: {
|
components: {
|
||||||
NodeItem,
|
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -33,13 +33,26 @@ module.exports = {
|
||||||
port: port,
|
port: port,
|
||||||
open: true,
|
open: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
'/jhapi/profile':{
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
target: `http://62.234.3.186/jhapi/profile/`,
|
||||||
target: `http://localhost:8090/jhapi`,
|
|
||||||
//target: `http://62.234.3.186/jhapi`,
|
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
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':'/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue