diff --git a/src/config/ConfigProvider.tsx b/src/config/ConfigProvider.tsx
index 8c921eb..c56f8ec 100644
--- a/src/config/ConfigProvider.tsx
+++ b/src/config/ConfigProvider.tsx
@@ -44,7 +44,8 @@ export function ConfigProvider({
enableLogo: theme.enableLogo ?? DEFAULT_CONFIG.enableLogo,
logoUrl: theme.logoUrl || DEFAULT_CONFIG.logoUrl,
enableTitle: theme.enableTitle ?? DEFAULT_CONFIG.enableTitle,
- titleText: theme.titleText || DEFAULT_CONFIG.titleText,
+ titleText:
+ theme.titleText || publicSettings?.sitename || DEFAULT_CONFIG.titleText,
enableSearchButton:
theme.enableSearchButton ?? DEFAULT_CONFIG.enableSearchButton,
selectedDefaultView:
@@ -64,7 +65,7 @@ export function ConfigProvider({
theme.pingChartMaxPoints || DEFAULT_CONFIG.pingChartMaxPoints,
backgroundImage,
}),
- [theme, backgroundImage]
+ [theme, backgroundImage, publicSettings?.sitename]
);
return (
diff --git a/src/hooks/useNodeCommons.ts b/src/hooks/useNodeCommons.ts
index 4a6a04c..cc1a4d1 100644
--- a/src/hooks/useNodeCommons.ts
+++ b/src/hooks/useNodeCommons.ts
@@ -55,10 +55,10 @@ export const useNodeCommons = (node: NodeWithStatus) => {
? "长期"
: node.expired_at
? new Date(node.expired_at).toLocaleDateString()
- : "N/A";
+ : "未设置";
const tagList = [
- price,
+ ...(price ? [price] : []),
...(daysLeftTag ? [daysLeftTag] : []),
...(typeof node.tags === "string"
? node.tags