ddns: allow overriding domains per configuration (#111)

This commit is contained in:
UUBulb
2025-01-30 12:15:21 +08:00
committed by GitHub
parent 0ba41828dd
commit 42b85f74a9
4 changed files with 65 additions and 17 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export function asOptionalField<T extends z.ZodTypeAny>(schema: T) {
}
export const conv = {
recordToStr: (rec: Record<string, boolean>) => {
recordToStr: <T>(rec: Record<string, T>) => {
const arr: string[] = []
for (const key in rec) {
arr.push(key)