JKSJADKSJ
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 23s

This commit is contained in:
2026-10-01 22:34:06 +02:00
parent 5feeeabbf7
commit 5064757de3
3 changed files with 10 additions and 5 deletions

View File

@@ -48,7 +48,8 @@ export default defineNuxtConfig({
// The Nuxt server's own API calls (SSR) are relative once apiBase is "",
// and land on this Nitro route, which forwards them to the backend. The
// Docker image bakes NUXT_API_PROXY_TARGET=http://backend:5000 in at build.
// Docker image bakes NUXT_API_PROXY_TARGET=https://mathew.aranroig.com in
// at build; nginx routes that address on to the backend.
routeRules: {
'/api/**': { proxy: `${process.env.NUXT_API_PROXY_TARGET || 'http://localhost:5000'}/api/**` },
},