From a51793bc4f749d69b0fef2c9deeb5c44b99e41c0 Mon Sep 17 00:00:00 2001 From: Andreas Dinauer Date: Sun, 22 Mar 2026 09:45:20 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Dynamic=20Path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/routes/api/[...path].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes/api/[...path].ts b/server/routes/api/[...path].ts index 65b218b..7f012c5 100644 --- a/server/routes/api/[...path].ts +++ b/server/routes/api/[...path].ts @@ -7,7 +7,7 @@ export default defineEventHandler(async (event) => { { throw new Error(); } - return proxyRequest(event, 'http://localhost:8089' + event.path, { + return proxyRequest(event, process.env.NUXT_PUBLIC_BASE_URL + event.path, { fetchOptions: { headers: { Authorization: "Basic " + Buffer.from(user + ':' + password).toString('base64')