Commit 2f7baf4d by luyt

change:git hook 地址

1 parent f902bc58
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
import axios from 'axios' import axios from 'axios'
import { message } from "ant-design-vue"; import { message } from "ant-design-vue";
let url = process.env.NODE_ENV == "development" ? "/api2" : "http://192.168.3.233:8090/api/v4/projects" let url = process.env.NODE_ENV == "development" ? "/api2" : "http://192.168.1.16:8090/api/v4/projects"
const service = axios.create({ const service = axios.create({
withCredentials: false, withCredentials: false,
baseURL: url, baseURL: url,
......
...@@ -119,7 +119,7 @@ export default { ...@@ -119,7 +119,7 @@ export default {
methods: { methods: {
//获取项目id //获取项目id
getProjectId() { getProjectId() {
console.log('this.$route.query.projectId',this.$route.query.projectId) // console.log('this.$route.query.projectId',this.$route.query.projectId)
if (this.$route.query.projectId) { if (this.$route.query.projectId) {
this.projectId = this.$route.query.projectId; this.projectId = this.$route.query.projectId;
this.getBranches(); this.getBranches();
......
...@@ -12,7 +12,8 @@ module.exports = { ...@@ -12,7 +12,8 @@ module.exports = {
} }
}, },
"/api2": { "/api2": {
target: "http://192.168.3.233:8090/api/v4/projects", // target: "http://192.168.3.233:8090/api/v4/projects",
target: "http://192.168.1.16:8090/api/v4/projects",
ws:true, ws:true,
changOrigin: true, changOrigin: true,
pathRewrite: { pathRewrite: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!