From a2324aa488e558b83024c2d7cc77f99c88b50cd1 Mon Sep 17 00:00:00 2001 From: MaxKey Date: Thu, 29 Dec 2022 18:59:55 +0800 Subject: [PATCH] rename properties name --- ...lication-http.properties => application-maxkey.properties} | 0 .../src/main/resources/application.properties | 4 ++-- ...tion-http.properties => application-maxkey-mgt.properties} | 0 .../maxkey-web-mgt/src/main/resources/application.properties | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename maxkey-webs/maxkey-web-maxkey/src/main/resources/{application-http.properties => application-maxkey.properties} (100%) rename maxkey-webs/maxkey-web-mgt/src/main/resources/{application-http.properties => application-maxkey-mgt.properties} (100%) diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/resources/application-http.properties b/maxkey-webs/maxkey-web-maxkey/src/main/resources/application-maxkey.properties similarity index 100% rename from maxkey-webs/maxkey-web-maxkey/src/main/resources/application-http.properties rename to maxkey-webs/maxkey-web-maxkey/src/main/resources/application-maxkey.properties diff --git a/maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties b/maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties index bbfcbbbb3..46a0efa9b 100644 --- a/maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties +++ b/maxkey-webs/maxkey-web-maxkey/src/main/resources/application.properties @@ -25,7 +25,7 @@ spring.application.name =maxkey spring.main.banner-mode =log #spring.main.allow-bean-definition-overriding=true ############################################################################ -#spring.profiles.active https/http; default https # +#spring.profiles.active maxkey # ############################################################################ -spring.profiles.active =${SERVER_PROFILES:http} +spring.profiles.active =${SERVER_PROFILES:maxkey} diff --git a/maxkey-webs/maxkey-web-mgt/src/main/resources/application-http.properties b/maxkey-webs/maxkey-web-mgt/src/main/resources/application-maxkey-mgt.properties similarity index 100% rename from maxkey-webs/maxkey-web-mgt/src/main/resources/application-http.properties rename to maxkey-webs/maxkey-web-mgt/src/main/resources/application-maxkey-mgt.properties diff --git a/maxkey-webs/maxkey-web-mgt/src/main/resources/application.properties b/maxkey-webs/maxkey-web-mgt/src/main/resources/application.properties index f96d61a60..14658ffab 100644 --- a/maxkey-webs/maxkey-web-mgt/src/main/resources/application.properties +++ b/maxkey-webs/maxkey-web-mgt/src/main/resources/application.properties @@ -25,6 +25,6 @@ spring.application.name =maxkey-mgt spring.main.banner-mode =log #spring.main.allow-bean-definition-overriding =true ############################################################################ -#spring.profiles.active http; default http # +#spring.profiles.active maxkey-mgt # ############################################################################ -spring.profiles.active =http +spring.profiles.active ==${SERVER_PROFILES:maxkey-mgt}