fix(web): 移除 Sentry Dashboard 連結 (內網 IP 問題)
原因: 內網 IP (192.168.0.110:9000) 會觸發瀏覽器「存取區域網路」權限對話框 參考: feedback_sentry_local_network.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,7 @@ import {
|
||||
RecentIssuesList,
|
||||
ErrorTrendChart,
|
||||
} from '@/components/errors'
|
||||
import { Bug, RefreshCw, ExternalLink } from 'lucide-react'
|
||||
import { Bug, RefreshCw } from 'lucide-react'
|
||||
import type { SentryIssue } from '@/lib/api-client'
|
||||
|
||||
// =============================================================================
|
||||
@@ -90,17 +90,12 @@ export default function ErrorsPage({
|
||||
{loading ? t('loading') : t('refresh')}
|
||||
</button>
|
||||
|
||||
<a
|
||||
href="http://192.168.0.110:9000"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="flex items-center gap-1.5 px-3 py-1.5 text-sm
|
||||
bg-purple-100 text-purple-700 hover:bg-purple-200
|
||||
rounded transition-colors"
|
||||
>
|
||||
<ExternalLink className="h-4 w-4" />
|
||||
{t('sentryDashboard')}
|
||||
</a>
|
||||
{/*
|
||||
Sentry Dashboard 連結已移除
|
||||
原因: 內網 IP 會觸發瀏覽器「存取區域網路」權限對話框
|
||||
2026-03-30 ogt: 參考 feedback_sentry_local_network.md
|
||||
未來: 可透過 VPN 或反向代理公開 Sentry UI
|
||||
*/}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user