diff --git a/openflare_server/web/app/(dashboard)/dns-account/page.tsx b/openflare_server/web/app/(dashboard)/website/dns-account/page.tsx
similarity index 57%
rename from openflare_server/web/app/(dashboard)/dns-account/page.tsx
rename to openflare_server/web/app/(dashboard)/website/dns-account/page.tsx
index 34b936bc..192ca6be 100644
--- a/openflare_server/web/app/(dashboard)/dns-account/page.tsx
+++ b/openflare_server/web/app/(dashboard)/website/dns-account/page.tsx
@@ -1,10 +1,5 @@
-import type { Metadata } from 'next';
import { DnsAccountsPage } from '@/features/dns-accounts/components/dns-accounts-page';
-export const metadata: Metadata = {
- title: 'DNS 账号 - OpenFlare',
-};
-
export default function Page() {
return ;
}
diff --git a/openflare_server/web/features/dns-accounts/components/dns-accounts-page.tsx b/openflare_server/web/features/dns-accounts/components/dns-accounts-page.tsx
index 36994c58..f67c0538 100644
--- a/openflare_server/web/features/dns-accounts/components/dns-accounts-page.tsx
+++ b/openflare_server/web/features/dns-accounts/components/dns-accounts-page.tsx
@@ -68,10 +68,10 @@ export function DnsAccountsPage() {
action={
- 返回网站
+ 返回
setIsCreateOpen(true)}>
添加账号
diff --git a/openflare_server/web/features/proxy-routes/components/proxy-route-config-page.tsx b/openflare_server/web/features/proxy-routes/components/proxy-route-config-page.tsx
index 5314cc57..9db98207 100644
--- a/openflare_server/web/features/proxy-routes/components/proxy-route-config-page.tsx
+++ b/openflare_server/web/features/proxy-routes/components/proxy-route-config-page.tsx
@@ -718,14 +718,6 @@ type PowListValues = {
user_agents: string;
};
-const defaultPowList: PowListValues = {
- ips: '',
- ip_cidrs: '',
- paths: '',
- path_regexes: '',
- user_agents: '',
-};
-
const powSchema = z
.object({
pow_enabled: z.boolean(),
diff --git a/openflare_server/web/features/tls-certificates/components/tls-certificates-page.tsx b/openflare_server/web/features/tls-certificates/components/tls-certificates-page.tsx
index daf57458..bc23e1ff 100644
--- a/openflare_server/web/features/tls-certificates/components/tls-certificates-page.tsx
+++ b/openflare_server/web/features/tls-certificates/components/tls-certificates-page.tsx
@@ -137,7 +137,7 @@ export function TlsCertificatesPage() {
刷新证书
DNS 账号
diff --git a/openflare_server/web/lib/constants/navigation.ts b/openflare_server/web/lib/constants/navigation.ts
index 69f32792..50ed5764 100644
--- a/openflare_server/web/lib/constants/navigation.ts
+++ b/openflare_server/web/lib/constants/navigation.ts
@@ -42,12 +42,6 @@ export const dashboardNavigation: NavigationItem[] = [
label: '性能',
icon: 'performance',
},
- {
- href: '/user',
- label: '用户',
- icon: 'user',
- },
-
{
href: '/setting',
label: '设置',