feat: add socks5 listener support

This commit is contained in:
xiamuceer-j
2026-03-06 16:13:41 +08:00
parent c37f26f376
commit 5484d6f65a
3 changed files with 7 additions and 4 deletions
+4 -1
View File
@@ -5,6 +5,7 @@ import DebugPanel from './components/DebugPanel'
import SettingsPanel from './components/SettingsPanel'
import LoginPage from './components/LoginPage'
import { checkAuth, getToken, logout } from './api/client'
import packageJson from '../package.json'
type AuthState = 'loading' | 'need_login' | 'authenticated'
type TabId = 'monitor' | 'manage' | 'debug' | 'settings'
@@ -65,6 +66,8 @@ const MENU_ITEMS: { id: TabId; label: string; icon: React.ReactNode; desc: strin
const VALID_TABS: TabId[] = ['monitor', 'manage', 'debug', 'settings']
const THEME_STORAGE_KEY = 'ep-theme'
const APP_VERSION = `v${packageJson.version}`
const DARK_THEMES = new Set([
'dark', 'synthwave', 'halloween', 'forest', 'black', 'luxury',
'dracula', 'business', 'night', 'coffee', 'dim', 'sunset', 'abyss',
@@ -379,7 +382,7 @@ function App() {
</div>
<div className="flex flex-col">
<span className="text-sm font-semibold text-base-content/80">系统运行正常</span>
<span className="text-xs text-base-content/40">v1.0.0</span>
<span className="text-xs text-base-content/40">{APP_VERSION}</span>
</div>
</div>
</div>