Merge pull request #472 from akinshaywai/fix/security-hub-link-rel

fix: add rel="noopener noreferrer" to hub link in ConfigPanel
This commit is contained in:
Simon
2026-04-27 17:26:50 +08:00
committed by GitHub

View File

@@ -181,6 +181,7 @@ export function ConfigPanel({ config, onSave, onClose }: ConfigPanelProps) {
<a <a
href="/hub.html" href="/hub.html"
target="_blank" target="_blank"
rel="noopener noreferrer"
className="flex items-center justify-between p-3 rounded-md border bg-muted/50 text-xs font-medium text-muted-foreground hover:text-foreground hover:border-foreground/20 transition-colors" className="flex items-center justify-between p-3 rounded-md border bg-muted/50 text-xs font-medium text-muted-foreground hover:text-foreground hover:border-foreground/20 transition-colors"
> >
Manage Page Agent Hub Manage Page Agent Hub