kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Fixed broken urls (wrong absoluteUrl refactor) on search and metadata search
rodzic
58be852a84
commit
10ce077334
|
@ -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 [
|
||||
|
|
Ładowanie…
Reference in New Issue