diff --git a/nuxt.config.js b/nuxt.config.js index 29c7f6c..129f856 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -3,22 +3,7 @@ export default { buildModules: ['nuxt-animejs'], modules: ['@nuxtjs/axios', '@nuxtjs/proxy'], axios: { proxy: true, proxyHeaders: true }, - proxy: [ - ['/api', { - target: 'http://localhost:2333', - pathRewrite: { - '^/api': '/', - changeOrigin: true - } - }], - ['/data', { - target: 'http://localhost:2333', - pathRewrite: { - '^/api': '/', - changeOrigin: true - } - }] - ], + proxy: { '/api': 'http://localhost:2333' }, css: ['@fortawesome/fontawesome-free/css/all.css'], pageTransition: { name: 'page',