mirror of
https://github.com/grocy/grocy.git
synced 2026-04-08 21:46:16 +02: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"
|
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>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user