'React load configuration from spring boot backend
I have created a react application, started with create-react-app. My backend is made with spring boot and with pom.xml I managed to add my built frontend-side code, in target/public, so that the frontend is reachable at localhost:8080/index.html. The problem is that I want to load configuration for frontend from a file inside the same folder target/public.
Thanks everyone.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
