Skip to content

Commit d36317c

Browse files
phananchrisvfritz
authored andcommitted
Change yesno.wtf API to https (#387)
yesno.wtf API has been moved permanently from http to https, rendering the YesNo mini app broken. This commit fixes the issue.
1 parent ed39a58 commit d36317c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/guide/computed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ var watchExampleVM = new Vue({
203203
return
204204
}
205205
vm.answer = 'Thinking...'
206-
axios.get('http://yesno.wtf/api')
206+
axios.get('https://yesno.wtf/api')
207207
.then(function (response) {
208208
vm.answer = _.capitalize(response.data.answer)
209209
})
@@ -254,7 +254,7 @@ var watchExampleVM = new Vue({
254254
return
255255
}
256256
vm.answer = 'Thinking...'
257-
axios.get('http://yesno.wtf/api')
257+
axios.get('https://yesno.wtf/api')
258258
.then(function (response) {
259259
vm.answer = _.capitalize(response.data.answer)
260260
})

0 commit comments

Comments
 (0)