标签:class file different out current href tar env img
We can use different application properties
application.properties:
server.port=9090
application-prod.properties:
server.port=80
application-test.properties:
server.port=9090
We can setup different properties for different env, more about configration can be found here
Run:
-Dspring.profiles.active=test
WIll run test env:
[Spring boot] Application properties and configurations
标签:class file different out current href tar env img
原文地址:https://www.cnblogs.com/Answer1215/p/10269168.html