Use relative url instead of absolute url
This commit is contained in:
parent
0711295b0a
commit
dfbfee742a
@ -23,7 +23,7 @@
|
||||
},
|
||||
methods: {
|
||||
fetchData() {
|
||||
fetch('/api/config', {credentials: 'include'})
|
||||
fetch('../api/config', {credentials: 'include'})
|
||||
.then(res => {
|
||||
return res.text()
|
||||
}).then(text => {
|
||||
|
Loading…
Reference in New Issue
Block a user