mirror of
https://github.com/gotson/komga.git
synced 2026-05-09 05:10:19 +02:00
fix(komga-tray): load optional application configuration files inside config directory
This commit is contained in:
parent
e7ef2bc91d
commit
2b41fefef4
3 changed files with 14 additions and 0 deletions
|
|
@ -4,3 +4,9 @@ logging:
|
|||
komga:
|
||||
config-dir: ${user.home}/Library/Application Support/Komga
|
||||
kobo.kepubify-path: kepubify
|
||||
spring:
|
||||
config:
|
||||
import:
|
||||
- "optional:file:${komga.config-dir}/application.yml"
|
||||
- "optional:file:${komga.config-dir}/application.yaml"
|
||||
- "optional:file:${komga.config-dir}/application.properties"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
komga:
|
||||
config-dir: ${LOCALAPPDATA}/Komga
|
||||
kobo.kepubify-path: kepubify.exe
|
||||
spring:
|
||||
config:
|
||||
import:
|
||||
- "optional:file:${komga.config-dir}/application.yml"
|
||||
- "optional:file:${komga.config-dir}/application.yaml"
|
||||
- "optional:file:${komga.config-dir}/application.properties"
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ logging:
|
|||
# org.springframework.boot.autoconfigure: DEBUG
|
||||
# org.springframework.security.web.FilterChainProxy: DEBUG
|
||||
# org.springframework.security.web.authentication.rememberme: DEBUG
|
||||
# org.springframework.boot.context.config.ConfigDataEnvironment: TRACE
|
||||
# org.springframework.boot.context.config.ConfigDataEnvironmentPostProcessor: TRACE
|
||||
logback:
|
||||
rollingpolicy:
|
||||
max-history: 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue