Fix manifest & healthcheck css paths (again)

This commit is contained in:
Bubka
2024-11-27 14:37:06 +01:00
parent 5bca296cfa
commit c38f3cfef7
4 changed files with 7 additions and 3 deletions

View File

@ -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,
]);
}
}