Commit 3876b151 authored by Eliot Berriot's avatar Eliot Berriot 💬

Merge branch '209-play-all-first-track' into 'develop'

FIxed broken search and metadata search

See merge request funkwhale/funkwhale!278
parents 58be852a 10ce0773
......@@ -91,7 +91,7 @@ export default {
})
return {results: results}
},
url: this.$store.getters['instance/absoluteUrl']('search?query={query}')
url: this.$store.getters['instance/absoluteUrl']('api/v1/search?query={query}')
}
})
}
......
......@@ -116,7 +116,7 @@ export default {
})[0]
},
searchUrl: function () {
return this.$store.getters['instance/absoluteUrl']('providers/musicbrainz/search/' + this.currentTypeObject.value + 's/?query={query}')
return this.$store.getters['instance/absoluteUrl']('api/v1/providers/musicbrainz/search/' + this.currentTypeObject.value + 's/?query={query}')
},
types: function () {
return [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment