mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-04 23:16:37 +08:00
d615d85a26
Drop remark fields from Zone, Zone domains, proxy routes, WAF rule groups and IP groups across models, APIs, UI and DB columns (keep certificate/origin remarks). Add quick-create domain input for short labels, @ apex and full FQDNs when binding domains.
19 lines
760 B
Go
19 lines
760 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package zone
|
|
|
|
const (
|
|
errZoneDomainRequired = "域名不能为空"
|
|
errZoneRootInvalid = "zone 必须是有效的注册根域"
|
|
errDomainInvalid = "域名格式不合法"
|
|
errDomainWildcardUnsupported = "不支持通配符域名"
|
|
errDomainOutsideZone = "域名不属于该 Zone"
|
|
errZoneNotFound = "Zone 不存在"
|
|
errDomainNotFound = "域名不存在"
|
|
errDomainExists = "域名已存在"
|
|
errCertificateNotFound = "所选证书不存在"
|
|
errDomainBoundToRoute = "域名已绑定反代路由,请先解除绑定"
|
|
errZoneHasDomains = "根域下仍有域名,请先删除全部域名"
|
|
)
|