I am using Spring Boot to create a web app, and I am not sure how to change the URL from localhost:8080
to something like localhost:8080/myWebApp
.
I have a seen a lot of resources online referencing an application.properties
file and adding that to the classpath. But, I'm not sure exactly where to put that.
Questions
In my
src/main/resources
?How would I assign the URL within the file?