From 61b4d81316f491d3e8771061f43a2ab34db889f8 Mon Sep 17 00:00:00 2001 From: K Muller Date: Fri, 14 Nov 2025 12:19:21 +0100 Subject: [PATCH] fix :bug: route passed with nonce for back --- resources/views/back/layouts/head.blade.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/views/back/layouts/head.blade.php b/resources/views/back/layouts/head.blade.php index 1d577e02..e45c4a73 100644 --- a/resources/views/back/layouts/head.blade.php +++ b/resources/views/back/layouts/head.blade.php @@ -35,8 +35,10 @@ - @routes - @viteReactRefresh + @routes(nonce: $nonce) + @if (app()->hasDebugModeEnabled()) + @viteReactRefresh + @endif @vite(['resources/ts/back/app.tsx', "resources/ts/back/Pages/{$page['component']}.tsx", 'resources/sass/back/app.scss']) @inertiaHead