diff --git a/README.md b/README.md
index f98c671..f6cbeb1 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@
| ------------------------------ | ------------------------ | ------------------------------------------------------------- |
| NezhaBaseUrl | nezha 面板地址 | http://120.x.x.x:8008 |
| NezhaAuth | nezha 面板 API Token | 5hAY3QX6Nl9B3Uxxxx26KMvOMyXS1Udi |
-| SitePassword | 页面密码 | 123456 |
+| SitePassword | 页面密码 | **默认**:无密码 |
| DefaultLocale | 面板默认显示语言 | **默认**:en [简中:zh 繁中:zh-t 英语:en 日语:ja] |
| ForceShowAllServers | 是否强制显示所有服务器 | **默认**:false |
| NEXT_PUBLIC_NezhaFetchInterval | 获取数据间隔(毫秒) | **默认**:2000 |
diff --git a/app/[locale]/(main)/ClientComponents/ServerDetailClient.tsx b/app/[locale]/(main)/ClientComponents/ServerDetailClient.tsx
index 1c05446..7843953 100644
--- a/app/[locale]/(main)/ClientComponents/ServerDetailClient.tsx
+++ b/app/[locale]/(main)/ClientComponents/ServerDetailClient.tsx
@@ -3,6 +3,7 @@
import { ServerDetailLoading } from "@/app/[locale]/(main)/ClientComponents/ServerDetailLoading";
import { NezhaAPISafe } from "@/app/[locale]/types/nezha-api";
import { BackIcon } from "@/components/Icon";
+import ServerFlag from "@/components/ServerFlag";
import { Badge } from "@/components/ui/badge";
import { Card, CardContent } from "@/components/ui/card";
import getEnv from "@/lib/env-entry";
@@ -60,7 +61,7 @@ export default function ServerDetailClient({
{t("status")}
+
+
+
+ {t("Region")}
+
+
+ {data?.host.CountryCode.toUpperCase()}
+
+
+
+
+
+
diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx
index db96506..33d5a32 100644
--- a/app/[locale]/layout.tsx
+++ b/app/[locale]/layout.tsx
@@ -1,5 +1,4 @@
// @auto-i18n-check. Please do not delete the line.
-import { auth } from "@/auth";
import { locales } from "@/i18n-metadata";
import getEnv from "@/lib/env-entry";
import { cn } from "@/lib/utils";
@@ -13,8 +12,6 @@ import { ThemeProvider } from "next-themes";
import { Inter as FontSans } from "next/font/google";
import React from "react";
-import "/node_modules/flag-icons/css/flag-icons.min.css";
-
const fontSans = FontSans({
subsets: ["latin"],
variable: "--font-sans",
@@ -65,6 +62,10 @@ export default function LocaleLayout({
+
+
{useSvgFlag || !supportsEmojiFlags ? (
-
+
) : (
getUnicodeFlagIcon(country_code)
)}
diff --git a/components/SignIn.tsx b/components/SignIn.tsx
index f93c43f..6c7a83b 100644
--- a/components/SignIn.tsx
+++ b/components/SignIn.tsx
@@ -36,12 +36,10 @@ export function SignIn() {
});
if (res?.error) {
console.log("login error");
- console.log(res);
setErrorState(true);
setSuccessState(false);
} else {
console.log("login success");
- console.log(res);
setErrorState(false);
setSuccessState(true);
router.push("/");
@@ -75,7 +73,7 @@ export function SignIn() {
/>