ddns: allow overriding domains per configuration (#111)

This commit is contained in:
UUBulb authored and GitHub committed 2025-01-30 12:15:21 +08:00
1 parent 0ba41828dd
commit 42b85f74a9
4 files changed
+65 -17

No files matched your search

+3
View File
@@ -411,6 +411,7 @@ export interface ModelNAT {
export interface ModelNATForm {
domain: string
enabled: boolean
host: string
/** @minLength 1 */
name: string
@@ -560,6 +561,7 @@ export interface ModelServer {
name: string
/** 管理员可见备注 */
note: string
override_ddns_domains?: Record<string, string[]>
/** 公开备注 */
public_note: string
state: ModelHostState
@@ -582,6 +584,7 @@ export interface ModelServerForm {
name: string
/** 管理员可见备注 */
note?: string
override_ddns_domains?: Record<string, string[]>
/** 公开备注 */
public_note?: string
}