1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Merge cookie consent fix

This commit is contained in:
Hillel Coren 2018-05-08 12:22:22 +03:00
parent f2608c0f84
commit facc1b7155

View File

@ -235,9 +235,6 @@
"background": "#f1d600" "background": "#f1d600"
}, },
}, },
"cookie": {
"domain": "{{ App\Constants\Domain::getCookieDomain(request()->url()) }}"
},
"content": { "content": {
"href": "{{ Utils::isNinja() ? Utils::getPrivacyLink() : (config('ninja.privacy_policy_url') ?: 'https://cookiesandyou.com/' ) }}", "href": "{{ Utils::isNinja() ? Utils::getPrivacyLink() : (config('ninja.privacy_policy_url') ?: 'https://cookiesandyou.com/' ) }}",
"message": {!! json_encode(trans('texts.cookie_message')) !!}, "message": {!! json_encode(trans('texts.cookie_message')) !!},