HEX
Server: Apache
System: Linux srv-plesk28.ps.kz 5.14.0-284.18.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 29 17:06:27 EDT 2023 x86_64
User: greencl1 (10085)
PHP: 8.1.33
Disabled: apache_setenv,dl,eval,exec,openlog,passthru,pcntl_exec,pcntl_fork,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,socket_create,socket_create_listen,socket_create_pair,syslog,system,socket_listen,stream_socket_server
Upload Files
File: /var/www/vhosts/greenclinic.kz/clinic_front/dist-old/src/main.js
import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'
import router from './router'
import store from './store'
import vuetify from './plugins/vuetify'
import Vuelidate from 'vuelidate'
import Moment from 'vue-moment'
import VueToast from 'vue-toast-notification'
import 'vue-toast-notification/dist/theme-default.css'
import VueProgressBar from 'vue-progressbar'
import IdleVue from 'idle-vue-3'
import { i18n } from './plugins/i18n'
import Scroll from './plugins/scroll'


// options -------------------
const options = {
  color: '#ffcc47',
  failedColor: 'red',
  thickness: '5px',
  transition: {
    speed: '0.2s',
    opacity: '0.6s',
    termination: 300
  },
  autoRevert: true,
  location: 'top',
  inverse: false
}

const eventsHub = new Vue()

// variables -------------------
Vue.config.productionTip = false
Vue.prototype.$axios = axios;
Vue.prototype.$API_VERSION = process.env.VUE_APP_API_VERSION;
Vue.prototype.$API_VERSION_2 = process.env.VUE_APP_API_VERSION_2;
Vue.prototype.$API_URL = process.env.VUE_APP_API_URL;



Vue.prototype.$http = axios.create({
  baseURL: 'https://api.greenclinic.kz/api/v1',
});

// events ----------------------
Vue.prototype.$modal = new Vue()

// vue use ---------------------
Vue.use(Scroll)
Vue.use(Vuelidate)
Vue.use(VueToast)
Vue.use(Moment)
Vue.use(VueProgressBar, options)

Vue.use(IdleVue, {
  eventEmitter: eventsHub,
  idleTime: 600000,
  KeepTracking: false
})


// main config -----------------

new Vue({
  router,
  store,
  i18n,
  vuetify,
  render: h => h(App)
}).$mount('#app')