FullFact / health-misinfo-shared

Raphael health misinformation project, shared by Full Fact and Google
MIT License
0 stars 0 forks source link

Read baseUrl from an environment variable #40

Closed andylolz closed 3 months ago

andylolz commented 3 months ago

baseUrl is hardcoded currently: https://github.com/FullFact/health-misinfo-shared/blob/8a5b6c8b019100378550cb0a06de27f7abad9656/src/raphael_frontend_react/src/App.js#L5

This is a problem when running the flask server locally. It would be useful to be able to set this from an environment variable.