fix cawangan
This commit is contained in:
Vendored
+3
-3
@@ -126,18 +126,18 @@ Vue.use(require('vue-pusher'), {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Vue.prototype.$api1 = 'http://localhost:8000/'
|
Vue.prototype.$api1 = 'http://api.arrahn/'
|
||||||
Vue.prototype.$username = document.querySelector("meta[name='user_name']").getAttribute('content');
|
Vue.prototype.$username = document.querySelector("meta[name='user_name']").getAttribute('content');
|
||||||
Vue.prototype.$userroles = document.querySelector("meta[name='user_roles']").getAttribute('content');
|
Vue.prototype.$userroles = document.querySelector("meta[name='user_roles']").getAttribute('content');
|
||||||
|
|
||||||
|
|
||||||
let initial = 'KB2';
|
let initial = 'KB2';
|
||||||
let initialhostname = 'http://localhost:8000/';
|
let initialhostname = 'http://api.arrahn/';
|
||||||
|
|
||||||
const store = new Vuex.Store({
|
const store = new Vuex.Store({
|
||||||
state: {
|
state: {
|
||||||
$kodcaw: 'KB2',
|
$kodcaw: 'KB2',
|
||||||
$hostname: 'http://localhost:8000/'
|
$hostname: 'http://api.arrahn/'
|
||||||
},
|
},
|
||||||
plugins: [createPersistedState()],
|
plugins: [createPersistedState()],
|
||||||
mutations: {
|
mutations: {
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
case 'JLI':
|
case 'JLI':
|
||||||
case 'ARP':
|
case 'ARP':
|
||||||
case '020303':{
|
case '020303':{
|
||||||
this.sethostname('http://localhost:8000')
|
this.sethostname('http://api.arrahn')
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case '010621':
|
case '010621':
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
this.sethostname('http://api3.arrahn')
|
this.sethostname('http://api3.arrahn')
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default: this.sethostname('http://localhost:8000')
|
default: this.sethostname('http://api.arrahn')
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user