From 24d828d420a3313501d4b48880b39a8e168a8aba Mon Sep 17 00:00:00 2001 From: Settel Date: Sun, 15 Aug 2021 17:11:56 +0200 Subject: [PATCH] host-agnostic configuration of backend URL --- client/nuxt.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/nuxt.config.js b/client/nuxt.config.js index 98df705..726b626 100644 --- a/client/nuxt.config.js +++ b/client/nuxt.config.js @@ -21,7 +21,7 @@ export default { plugins: [{ src: '~/plugins/engine', mode: 'client' }], axios: { proxy: true }, publicRuntimeConfig: { - serverBaseUrl: 'http://localhost:3000/', + serverBaseUrl: '/', }, proxy: { '/api/': 'http://localhost:32039',