Merge branch 'main' of github.com:BaoXuebin/beancount-gs into main

This commit is contained in:
BaoXuebin 2021-12-06 21:45:15 +08:00
commit e8e65abe2a
2 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,6 @@ services:
command: > command: >
sh -c "cp -rn /app/public/default_icons/* /app/public/icons && ./beancount-gs -p 80" sh -c "cp -rn /app/public/default_icons/* /app/public/icons && ./beancount-gs -p 80"
volumes: volumes:
- "${dataPath:-/data/beancount}:/beancount" - "${dataPath:-/data/beancount}:${dataPath:-/data/beancount}"
- "${dataPath:-/data/beancount}/icons:/app/public/icons" - "${dataPath:-/data/beancount}/icons:/app/public/icons"
- "${dataPath:-/data/beancount}/config:/app/config" - "${dataPath:-/data/beancount}/config:/app/config"

View File

@ -199,7 +199,7 @@ func LoadLedgerConfigMap() error {
} }
err = json.Unmarshal(fileContent, &ledgerConfigMap) err = json.Unmarshal(fileContent, &ledgerConfigMap)
if err != nil { if err != nil {
LogSystemError("Failed unmarshal config file (" + path + ")") LogSystemError("Failed unmarshal ledger_config file (" + path + ")")
return err return err
} }
LogSystemInfo("Success load ledger_config file (" + path + ")") LogSystemInfo("Success load ledger_config file (" + path + ")")