Fix api url mapping
This commit is contained in:
+2
-2
@@ -49,5 +49,5 @@ PUSHER_APP_SECRET=421b61fb5a8ecce477a6
|
|||||||
|
|
||||||
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
|
||||||
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
|
||||||
# MIX_API_URL=apiujrah.arrahn
|
# MIX_API_URL=http://api.arrahn
|
||||||
MIX_API_URL=api.arrahn
|
MIX_API_URL=http://apiujrah.arrahn
|
||||||
|
|||||||
Vendored
+3
-3
@@ -126,21 +126,21 @@ Vue.use(require('vue-pusher'), {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Vue.prototype.$api1 = process.env.MIX_API_URL
|
Vue.prototype.$api1 = process.env.MIX_API_URL + '/';
|
||||||
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 = process.env.MIX_API_URL;
|
let initialhostname = process.env.MIX_API_URL + '/';
|
||||||
let initialtahun = new Date().getFullYear();
|
let initialtahun = new Date().getFullYear();
|
||||||
|
|
||||||
const store = new Vuex.Store({
|
const store = new Vuex.Store({
|
||||||
state: {
|
state: {
|
||||||
$kodcaw: 'KB2',
|
$kodcaw: 'KB2',
|
||||||
|
|
||||||
$hostname: process.env.MIX_API_URL,
|
$hostname: process.env.MIX_API_URL + '/',
|
||||||
$tahun: new Date().getFullYear()
|
$tahun: new Date().getFullYear()
|
||||||
},
|
},
|
||||||
plugins: [createPersistedState()],
|
plugins: [createPersistedState()],
|
||||||
|
|||||||
Reference in New Issue
Block a user