diff --git a/examples/custom-routes/pages/_user.vue b/examples/custom-routes/pages/_user.vue index 4e6985d537..874e37d718 100644 --- a/examples/custom-routes/pages/_user.vue +++ b/examples/custom-routes/pages/_user.vue @@ -12,7 +12,7 @@ import axios from 'axios' export default { data ({ params, error }) { - return axios.get(`http://jsonplaceholder.typicode.com/users/${params.id}`) + return axios.get(`https://jsonplaceholder.typicode.com/users/${params.id}`) .then((res) => res.data) .catch(() => { error({ message: 'User not found', statusCode: 404 }) diff --git a/examples/custom-routes/pages/index.vue b/examples/custom-routes/pages/index.vue index c3150ec05b..0583d602b3 100644 --- a/examples/custom-routes/pages/index.vue +++ b/examples/custom-routes/pages/index.vue @@ -14,7 +14,7 @@ import axios from 'axios' export default { data () { - return axios.get('http://jsonplaceholder.typicode.com/users') + return axios.get('https://jsonplaceholder.typicode.com/users') .then((res) => { return { users: res.data } })