mirror of
https://github.moeyy.xyz/https://github.com/GeWuYou/forgeboot
synced 2025-10-28 02:48:56 +08:00
feat(version): Add log output to track cross-domain configuration injections
- Added log output to the injectCors function to log when the cross-domain configuration is injected
This commit is contained in:
parent
da3bd2f714
commit
f13b21e640
@ -40,6 +40,7 @@ open class VersionAutoConfiguration(
|
|||||||
}
|
}
|
||||||
@PostConstruct
|
@PostConstruct
|
||||||
fun injectCors() {
|
fun injectCors() {
|
||||||
|
log.info("延迟注入跨域配置")
|
||||||
mapping.corsConfigurationSource = corsConfigurationSource
|
mapping.corsConfigurationSource = corsConfigurationSource
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user