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