mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 12:48:58 +08:00
🔧 Changing configuration files.修改actived根据指定的maven profiles动态切换
This commit is contained in:
parent
af262c7ad5
commit
d99d43172d
@ -14,5 +14,5 @@ spring:
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
profiles:
|
||||
active: dev
|
||||
active: @profiles.active@
|
||||
|
||||
|
@ -14,6 +14,6 @@ spring:
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
profiles:
|
||||
active: dev
|
||||
active: @profiles.active@
|
||||
|
||||
|
||||
|
@ -14,4 +14,4 @@ spring:
|
||||
shared-configs:
|
||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||
profiles:
|
||||
active: dev
|
||||
active: @profiles.active@
|
||||
|
Loading…
Reference in New Issue
Block a user