add support for server side http proxy, close #240

This commit is contained in:
sedum
2023-03-16 17:29:48 +01:00
parent fc8a9f4506
commit ae990fc370
4 changed files with 59 additions and 0 deletions

View File

@@ -55,6 +55,7 @@ module.exports = {
modules: [
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/i18n',
'~/modules/axios-proxy.js', // Note: import this before @nuxtjs/axios to override defaults of both instances: `$axios` available in context, and `axios` used in controllers
'@nuxtjs/axios',
'@nuxtjs/auth',
'@nuxtjs/sitemap',