From 24a61d8e37948cb1e46efbd0adc3f210c09e10c9 Mon Sep 17 00:00:00 2001 From: Georg Spar Date: Mon, 5 Jun 2023 21:59:04 +0200 Subject: [PATCH] proxy aktualisiert --- nuxt.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nuxt.config.js b/nuxt.config.js index 83f86e9..60ab918 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: { - '/api/': { target: 'http://127.0.0.1:8081/', changeOrigin: true }, - },*/ + proxy: { + '/api/v1/': { target: 'http://10.1.1.13:8081/', changeOrigin: true }, + }, // Build Configuration: https://go.nuxtjs.dev/config-build build: {