refactor(frontend): simplify routing paths for certificates, dns-accounts and ip-groups

- Remove /websites prefix from TLS certificates and DNS accounts routes.
- Remove /waf prefix from IP groups route.
- Correct relative import paths for shared components.
This commit is contained in:
ryan
2026-06-22 10:56:40 +08:00
parent 3a2878d070
commit 7b14e15afb
5 changed files with 20 additions and 18 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ import type {DnsAccountItem} from '@/lib/services/openflare';
import {DnsAccountService} from '@/lib/services/openflare';
import {formatDateTime} from '@/lib/utils';
import {DnsAccountCreateDialog} from '../components/dns-account-create-dialog';
import {getErrorMessage} from '../components/website-utils';
import {DnsAccountCreateDialog} from '../websites/components/dns-account-create-dialog';
import {getErrorMessage} from '../websites/components/website-utils';
const dnsAccountsQueryKey = ['openflare', 'dns-accounts'];