From 4a2d9245be6e129a2afc241f421b027e969ea56f Mon Sep 17 00:00:00 2001 From: Georg Spar Date: Mon, 5 Jun 2023 21:29:13 +0200 Subject: [PATCH] ohne Proxy --- nuxt.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index a97c560..83f86e9 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -51,12 +51,12 @@ export default { // Workaround to avoid enforcing hard-coded localhost:3000: https://github.com/nuxt-community/axios-module/issues/308 baseURL: '/', browserBaseURL: '/', - proxy: true + //proxy: true }, - proxy: { + /*proxy: { '/api/': { target: 'http://127.0.0.1:8081/', changeOrigin: true }, - }, + },*/ // Build Configuration: https://go.nuxtjs.dev/config-build build: {