fix: harden external link navigation in the web app
- add a shared external-navigation guard at the document level - route onboarding, markdown, settings, and node source links through one helper - stop browser fallback code from replacing the current app page on failures Generated with Codex
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import './globals.css';
|
||||
import { DimensionIconsProvider } from '@/context/DimensionIconsContext';
|
||||
import ExternalNavigationManager from '@/components/system/ExternalNavigationManager';
|
||||
|
||||
export const metadata = {
|
||||
title: 'RA-H Open Source',
|
||||
@@ -15,6 +16,7 @@ export default function RootLayout({
|
||||
<html lang="en">
|
||||
<body>
|
||||
<DimensionIconsProvider>
|
||||
<ExternalNavigationManager />
|
||||
{children}
|
||||
</DimensionIconsProvider>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user