mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 11:27:03 +00:00
Fixed dynamic manifest didn't work with enabled authentication
This commit is contained in:
@@ -15,8 +15,12 @@
|
|||||||
type="image/png"
|
type="image/png"
|
||||||
sizes="32x32"
|
sizes="32x32"
|
||||||
href="{{ $U('/img/icon-32.png?v=', true) }}{{ $version }}">
|
href="{{ $U('/img/icon-32.png?v=', true) }}{{ $version }}">
|
||||||
|
|
||||||
|
@if (GROCY_AUTHENTICATED)
|
||||||
<link rel="manifest"
|
<link rel="manifest"
|
||||||
|
crossorigin="use-credentials"
|
||||||
href="{{ $U('/manifest') . '?data=' . base64_encode($__env->yieldContent('title') . '#' . $U($_SERVER['REQUEST_URI'])) }}">
|
href="{{ $U('/manifest') . '?data=' . base64_encode($__env->yieldContent('title') . '#' . $U($_SERVER['REQUEST_URI'])) }}">
|
||||||
|
@endif
|
||||||
|
|
||||||
<title>@yield('title') | Grocy</title>
|
<title>@yield('title') | Grocy</title>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user