fix skit2

This commit is contained in:
hafifierahman
2022-01-30 12:20:41 +08:00
parent c0eea708a7
commit 3fd7646836
4 changed files with 59 additions and 55 deletions
+3 -3
View File
@@ -70,15 +70,15 @@ Vue.use(require('vue-pusher'), {
}
});
Vue.prototype.$api1 = 'http://localhost:8000'
Vue.prototype.$api1 = 'http://api.arrahn'
let initial = 'KB2';
let initialhostname = 'http://localhost:8000';
let initialhostname = 'http://api.arrahn';
const store = new Vuex.Store({
state: {
$kodcaw: 'KB2',
$hostname: 'http://localhost:8000'
$hostname: 'http://api.arrahn'
},
plugins: [createPersistedState()],
mutations: {
+2 -2
View File
@@ -84,7 +84,7 @@
case 'JLI':
case 'ARP':
case '020303':{
this.sethostname('http://localhost:8000')
this.sethostname('http://api.arrahn')
break;
}
case '010621':
@@ -114,7 +114,7 @@
this.sethostname('http://api3.arrahn')
break;
}
default: this.sethostname('http://localhost:8000')
default: this.sethostname('http://api.arrahn')
break;
}
}