feat: 环境变量启用server

This commit is contained in:
log1997
2026-01-16 13:50:08 +08:00
parent f2832324ce
commit 20a02ce44b
5 changed files with 8 additions and 4 deletions

View File

@@ -106,6 +106,7 @@ export const configRoutes = {
name: 'Server',
component: () => import('@/views/Config/Server/index.vue'),
meta: {
hidden: import.meta.env.VITE_ENABLE_WEBSOCKET !== 'true',
title: i18n.global.t('sidebar.server'),
icon: 'server',
},