This repository was archived by the owner on Mar 2, 2022. It is now read-only.

Description
Idea would be to use something like the window.env and write the BUBBLY_API to there.
Then access this using some js, e.g.:
const bubblyAPI = () => { return window["env"] ? window["env"]["bubblyAPI"] : "" }
export { bubblyAPI }
Right now the static files are hosted with Go using go:embed and one open question is how to add to the window.env using embedded files.