Skip to content

Commit

Permalink
enable proxy mode for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa authored and pi0 committed Feb 2, 2018
1 parent 4ece5fa commit 5d65bfd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion example/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,11 @@ module.exports = {
login: { propertyName: 'token.accessToken' }
}
},
modules: ['bootstrap-vue/nuxt', '@nuxtjs/axios', '@@']
modules: ['bootstrap-vue/nuxt', '@nuxtjs/axios', '@@'],
axios: {
proxy: true
},
proxy: {
'/api': 'http://localhost:3000'
}
}

0 comments on commit 5d65bfd

Please sign in to comment.