From 0c4a12670bdad00503a0c92dae2809c1d2ad2e13 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 17 May 2026 14:01:52 +0200 Subject: [PATCH] fix(stockholm): patch browser_http_proxy.js so the proxy URL respects basePath MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two patching gaps caused every Stockholm HTTP-proxy call from a /stockholm/* page to hit /api/http-proxy (404) instead of the basePath-prefixed /stockholm/api/http-proxy: 1. The proxy URL constant in browser_http_proxy.js is declared as `var PROXY_PATH` (uppercase). Our patch script only knew about the lowercase `var proxyPath` form used in app_comm.js, so it never matched the upstream file. 2. Even if the constant had matched, browser_http_proxy.js's IIFE evaluates the URL at script-load time — but the injected bootstrap that defines window.__stockholmBase is placed just before , i.e. after the