Merge pull request #2766 from clarkdo/upgrade_axios

example: upgrade axios-module to 5.x
This commit is contained in:
Sébastien Chopin 2018-02-05 10:53:12 +01:00 committed by GitHub
commit c415a679e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,6 +4,6 @@ module.exports = {
'@nuxtjs/proxy'
],
proxy: [
['/api/dog', { target: 'https://dog.ceo/', pathRewrite: { '^/api/dog': '/api/breeds/image/random' } }]
['/dog', { target: 'https://dog.ceo/', pathRewrite: { '^/dog': '/api/breeds/image/random' } }]
]
}

View File

@ -2,7 +2,7 @@
"name": "nuxt-proxy",
"version": "1.0.0",
"dependencies": {
"@nuxtjs/axios": "^4.4.0",
"@nuxtjs/axios": "^5.0.0",
"@nuxtjs/proxy": "^1.1.2",
"nuxt": "latest"
},