mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Fix manifest & healthcheck css paths (again)
This commit is contained in:
@ -34,6 +34,7 @@ class SinglePageController extends Controller
|
||||
$ssoDocUrl = config('2fauth.ssoDocUrl');
|
||||
$exportSchemaUrl = config('2fauth.exportSchemaUrl');
|
||||
$cspNonce = Vite::cspNonce();
|
||||
$isSecure = str_starts_with(config('app.url'), 'https');
|
||||
|
||||
// if (Auth::user()->preferences)
|
||||
|
||||
@ -60,6 +61,7 @@ class SinglePageController extends Controller
|
||||
'lang' => $lang,
|
||||
'locales' => $locales,
|
||||
'cspNonce' => $cspNonce,
|
||||
'isSecure' => $isSecure,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user