We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d5200a commit 5c2f9a1Copy full SHA for 5c2f9a1
ui/vue.html
@@ -147,7 +147,7 @@ <h2 class="headline">The best way to start developing</h2>
147
getInfo: function() {
148
var xhr = new XMLHttpRequest()
149
var self = this
150
- xhr.open('GET', "/api/info")
+ xhr.open('GET', "api/info")
151
xhr.onload = function () {
152
data = JSON.parse(xhr.responseText)
153
// reload page when the version changes
@@ -170,7 +170,7 @@ <h2 class="headline">The best way to start developing</h2>
170
},
171
postBackend: function() {
172
173
- fetch("/api/echo", {
+ fetch("api/echo", {
174
method: 'post',
175
headers: {
176
"Content-type": "application/json; charset=UTF-8",
0 commit comments