bugfix: webkit scroll #826

This commit is contained in:
2020-07-29 16:44:50 +02:00
parent 196c02d0fc
commit 68064c916a
6 changed files with 47 additions and 29 deletions
+6 -2
View File
@@ -34,8 +34,12 @@ Vue.use(VueScrollTo)
Vue.component('v-select', VueSelect)
Vue.use(Vue2TouchEvents)
window.apipath = process.env === 'prod' ? `http://${window.location.hostname}/api` : 'http://localhost:8984'
// https://apple.stackexchange.com/questions/17077/add-a-hosts-file-entry-without-jailbreaking
window.apipath = process.env === 'prod' || window.location.hostname === 'dev.gdp.fr' ? `http://${window.location.hostname}/api` : 'http://localhost:8984'
// if (window.location.hostname === 'dev.gdp.fr') {
// window.apipath = `http://${window.location.hostname}/api`
// }
// window.apipath = `http://${window.location.hostname}:8984`
// sync(store, router) // done. Returns an unsync callback fn
new Vue({