Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
|
efb159fb02 |
1 changed files with 13 additions and 0 deletions
13
src/main.js
13
src/main.js
|
@ -27,6 +27,19 @@ import afterStoreSetup from './boot/after_store.js'
|
||||||
|
|
||||||
const currentLocale = (window.navigator.language || 'en').split('-')[0]
|
const currentLocale = (window.navigator.language || 'en').split('-')[0]
|
||||||
|
|
||||||
|
// These are inlined by webpack's DefinePlugin
|
||||||
|
/* eslint-disable */
|
||||||
|
const ciHostname = 'CI_HOSTNAME'
|
||||||
|
/* eslint-enable */
|
||||||
|
|
||||||
|
if (ciHostname || 1 > 0) {
|
||||||
|
window._fetch = window.fetch
|
||||||
|
window.fetch = function () {
|
||||||
|
arguments[0] = 'https://shigusegubu.club' + arguments[0]
|
||||||
|
return window._fetch.apply(this, arguments)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Vue.use(Vuex)
|
Vue.use(Vuex)
|
||||||
Vue.use(VueRouter)
|
Vue.use(VueRouter)
|
||||||
Vue.use(VueTimeago, {
|
Vue.use(VueTimeago, {
|
||||||
|
|
Loading…
Reference in a new issue