mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 10:50:06 +02:00
Fixed a URL issue when using radio builder on a different domain API server
This commit is contained in:
parent
aa0ec51ae6
commit
ebbf2b06a6
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ export default {
|
|||
settings.fields = f.autocomplete_fields
|
||||
settings.minCharacters = 1
|
||||
settings.apiSettings = {
|
||||
url: f.autocomplete + '?' + f.autocomplete_qs,
|
||||
url: self.$store.getters['instance/absoluteUrl'](f.autocomplete + '?' + f.autocomplete_qs),
|
||||
beforeXHR: function (xhrObject) {
|
||||
xhrObject.setRequestHeader('Authorization', self.$store.getters['auth/header'])
|
||||
return xhrObject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue