Commit 10ce0773 authored by Eliot Berriot's avatar Eliot Berriot 💬

Fixed broken urls (wrong absoluteUrl refactor) on search and metadata search

parent 58be852a
......@@ -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