mirror of https://gitee.com/maxjhandsome/pig
🔧 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