IN-CORE / incore-ui

IN-CORE Web Tools: a component of IN-CORE. It consists of data viewer, hazard viewer, and fragility viewer.
https://incore.ncsa.illinois.edu
Mozilla Public License 2.0
4 stars 0 forks source link

Dynamically load GA key in head #197

Closed longshuicy closed 3 months ago

longshuicy commented 4 months ago

I'm experimenting loading the GA key from config.json (which can be overwrite during deployment using configMap). The local test works:

Pasted Graphic 23 image

To test:

docker build -f Dockerfile -t incore-ui:GA .
docker run -ti --rm -p 80:80 incore-ui:GA