Always works on file:// and plain local servers. A deployed build's CSP (public/_headers) only allows connect-src to the build's API origin plus PGARCADE_CONNECT_EXTRA, so the browser blocks an override to any other host there.