1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-12 14:12:44 +01:00

Fix for cookie consent domain

This commit is contained in:
Hillel Coren 2018-04-24 22:02:17 +03:00
parent fce6f52bed
commit 439a7ee867

View File

@ -236,7 +236,7 @@
}, },
}, },
"cookie": { "cookie": {
"domain": "{{ App\Constants\Domain::getCookieDomain(request()->url) }}" "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/' ) }}",