mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-13 18:36:37 +08:00
chore: format
This commit is contained in:
@@ -67,10 +67,7 @@ export function getProxyRouteConfigSection(
|
||||
: 'domains';
|
||||
}
|
||||
|
||||
export function validateDomain(
|
||||
domain: string,
|
||||
t: TranslateFn,
|
||||
): string | null {
|
||||
export function validateDomain(domain: string, t: TranslateFn): string | null {
|
||||
const normalized = domain.trim().toLowerCase();
|
||||
if (!normalized) {
|
||||
return t('validation.enterDomain');
|
||||
|
||||
Reference in New Issue
Block a user