Commit 2f7baf4d by luyt

change:git hook 地址

1 parent f902bc58
......@@ -7,7 +7,7 @@
import axios from 'axios'
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({
withCredentials: false,
baseURL: url,
......
......@@ -119,7 +119,7 @@ export default {
methods: {
//获取项目id
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) {
this.projectId = this.$route.query.projectId;
this.getBranches();
......
......@@ -12,7 +12,8 @@ module.exports = {
}
},
"/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,
changOrigin: true,
pathRewrite: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!