Fix https for API call

This commit is contained in:
Sébastien Chopin 2016-12-21 01:17:09 +01:00
parent 1798cc004b
commit 20763b1cb6
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default {
},
data ({ query }) {
const page = +query.page || 1
return axios.get('http://reqres.in/api/users?page=' + page)
return axios.get('https://reqres.in/api/users?page=' + page)
.then((res) => {
return {
page: +res.data.page,