use port 17333 by default
Not sure how this is supposed to work. To be able to support Angular's development server and Spring as a standalone application I had to hardcode the port Spring uses. The problem is, that Angular runs on port 4200. Angular is compiled to static files. So I cannot dynamically add the port that is configured for Spring. But Angular has to be able to talk to the Spring application. I chose port 17333, because it does not collide with the standard Tomcat port (8080).
This commit is contained in:
@@ -6,7 +6,13 @@ path.output=${base.dir}/out
|
||||
|
||||
logging.config=classpath:log4j2.xml
|
||||
|
||||
|
||||
server.port=17333
|
||||
|
||||
spring.servlet.multipart.max-file-size=3000MB
|
||||
spring.servlet.multipart.max-request-size=3000MB
|
||||
|
||||
|
||||
#spring.resources.cache.cachecontrol.cache-private=true
|
||||
#spring.resources.cache.cachecontrol.must-revalidate=true
|
||||
#spring.resources.cache.cachecontrol.max-age=31536000
|
||||
#spring.resources.static-locations=classpath:/static/
|
||||
Reference in New Issue
Block a user