Merge pull request #1379 from whatdoineed2do/composer-relative-paths

[web-src] inline with 39b14ff8d - relative paths for proxy'ing
This commit is contained in:
Christian Meffert 2022-01-02 17:22:04 +01:00 committed by GitHub
commit 8f73616750
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -268,7 +268,7 @@ export default {
}, },
library_composers () { library_composers () {
return axios.get('/api/library/composers') return axios.get('./api/library/composers')
}, },
library_composer (composer) { library_composer (composer) {
@ -277,7 +277,7 @@ export default {
media_kind: 'music', media_kind: 'music',
expression: 'composer is "' + composer + '"' expression: 'composer is "' + composer + '"'
} }
return axios.get('/api/search', { return axios.get('./api/search', {
params: params params: params
}) })
}, },
@ -288,7 +288,7 @@ export default {
media_kind: 'music', media_kind: 'music',
expression: 'composer is "' + composer + '"' expression: 'composer is "' + composer + '"'
} }
return axios.get('/api/search', { return axios.get('./api/search', {
params: params params: params
}) })
}, },