This commit is contained in:
hafifierahman
2022-08-14 08:50:51 +08:00
parent da3e1123eb
commit 9daa07c962
6 changed files with 166 additions and 18 deletions
+3 -3
View File
@@ -126,18 +126,18 @@ Vue.use(require('vue-pusher'), {
}
});
Vue.prototype.$api1 = 'http://api.arrahn'
Vue.prototype.$api1 = 'http://localhost:8000/'
Vue.prototype.$username = document.querySelector("meta[name='user_name']").getAttribute('content');
Vue.prototype.$userroles = document.querySelector("meta[name='user_roles']").getAttribute('content');
let initial = 'KB2';
let initialhostname = 'http://api.arrahn';
let initialhostname = 'http://localhost:8000/';
const store = new Vuex.Store({
state: {
$kodcaw: 'KB2',
$hostname: 'http://api.arrahn'
$hostname: 'http://localhost:8000/'
},
plugins: [createPersistedState()],
mutations: {