See #327: Cleaned now unused backend.absoluteUrl and config module

This commit is contained in:
Eliot Berriot 2018-06-23 07:25:27 +02:00
parent f3e2193782
commit 2e3a2cd6dd
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
20 changed files with 24 additions and 61 deletions

View file

@ -11,11 +11,8 @@
<script>
import jQuery from 'jquery'
import config from '@/config'
import router from '@/router'
const SEARCH_URL = config.API_URL + 'search?query={query}'
export default {
mounted () {
let self = this
@ -94,7 +91,7 @@ export default {
})
return {results: results}
},
url: SEARCH_URL
url: this.$store.getters['instance/absoluteUrl']('search?query={query}')
}
})
}