Skip to content
Snippets Groups Projects
Verified Commit 10ce0773 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

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

parent 58be852a
No related branches found
No related tags found
No related merge requests found
......@@ -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 [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment