fix(smartacme,storage): Respect wildcard domain requests when retrieving certificates and treat empty/whitespace storage values as null in getJSON

This commit is contained in:
2026-02-16 00:56:41 +00:00
parent 5b6f7b30c3
commit 7aa5f07731
5 changed files with 14 additions and 4 deletions

View File

@@ -378,7 +378,7 @@ export class StorageManager {
*/
async getJSON<T = any>(key: string): Promise<T | null> {
const value = await this.get(key);
if (value === null) {
if (value === null || value.trim() === '') {
return null;
}