处理端口配置反了的问题
This commit is contained in:
+2
-2
@@ -38,9 +38,9 @@ public class TomcatFactoryConfig {
|
||||
}
|
||||
|
||||
//TODO 配置https证书 部署服务器的时候解开。
|
||||
/* @Value("${server.port-https}")
|
||||
/* @Value("${server.port}")
|
||||
private String serverPortHttp;
|
||||
@Value("${server.port}")
|
||||
@Value("${server.port-https}")
|
||||
private String serverPortHttps;
|
||||
@Bean
|
||||
public TomcatServletWebServerFactory tomcatFactory() {
|
||||
|
||||
Reference in New Issue
Block a user