v4.2.3: 작가앱 Google Books/알라딘 API 키 vault 매핑 누락분 추가
v4.2.1 이북 리더 커밋에서 빠뜨렸던 부분 — 이제 이 두 공급자 키를 평문으로 저장하면 다음 config 저장 때 자동으로 vault로 이전된다(기존 nvr.password 등과 동일 패턴). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
174da1e5bd
commit
df856877e8
2 files changed
+5
No files matched your search
@@ -367,5 +367,8 @@
|
||||
"onvifPort": 2020
|
||||
}
|
||||
]
|
||||
},
|
||||
"writer": {
|
||||
"providers": {}
|
||||
}
|
||||
}
|
||||
@@ -324,6 +324,8 @@ const SECRET_FIELD_MAP: Array<[string[], string]> = [
|
||||
[['weather', 'api_key'], 'weather.api_key'],
|
||||
[['news', 'newsdata_api_key'], 'news.newsdata_api_key'],
|
||||
[['nvr', 'password'], 'nvr.password'],
|
||||
[['writer', 'providers', 'google_books', 'apiKey'], 'writer.providers.google_books.apiKey'],
|
||||
[['writer', 'providers', 'aladin', 'apiKey'], 'writer.providers.aladin.apiKey'],
|
||||
];
|
||||
|
||||
function deepGet(obj: any, keys: string[]): string | undefined {
|
||||
|
||||
Reference in new issue
Block a user