mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 14:00:06 +02:00
See #327: Cleaned now unused backend.absoluteUrl and config module
This commit is contained in:
parent
f3e2193782
commit
2e3a2cd6dd
20 changed files with 24 additions and 61 deletions
|
@ -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}')
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue