DEV Community

Discussion on: Run React Frontend and SpringBoot Backend on the same port and Package them as a single artifact !!

Collapse
 
azizbekavazov profile image
AzizbekAvazov • Edited

Thanks for this tutorial!
Here spring.thymeleaf.prefix path is hardcoded. How can we give it relative path?

Collapse
 
markhennings profile image
Mark Hennings

This path worked for me in my application.properties:
spring.thymeleaf.prefix=file:./target/classes/static/