I am trying add a config.json file to the public folder, that can be used to change the IP of the backend system.
The config.json files looks like this
{
"graphEndpoint" : "http://10.1.1.177:5000"
}
Currently I am importing it in the components that requires it as such
import graphConfig from '../../public/config.json'
However, the issue is after building the application to static files changing the configuration does not have any effect on the application.
I tried the first two solutions from -> Vue js with an external configuration file
However, it error out, possibly due my application being in TypeScript.