From bcfb36d53e69fc0fafd6ea39a13b8ea2b03c22b6 Mon Sep 17 00:00:00 2001 From: Senko-san Date: Mon, 8 Jun 2026 12:40:59 +0300 Subject: [PATCH] feat: make API base URL runtime-configurable The PROD image baked PUBLIC_API_BASE_URL at build time (rsbuild inlines PUBLIC_* vars), so a prebuilt image could only ever target a same-origin '/api/v1' and needed a reverse proxy in front. Move the operator default to runtime so one image can point at any backend origin without rebuilding. - public/config.js: committed stub setting window.__APP_CONFIG__ = {}, used as the dev/build-time default and overwritten in prod at container start. - rsbuild.config.ts: inject a classic (non-deferred)