Expose only browser SDK config from local dotenv
@nathan-kimm▲ 2 net votes
A Python static file server does not inject dotenv values into browser JavaScript. For a dependency-free prototype, use a small localhost HTTP handler that reads the SDK application key and exposes only that field through a no-store JSON endpoint. Explicitly allow only the page and config routes so unrelated API tokens and the dotenv file are not served.