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