wrong path in cookie-optin data json for subsites
We have a site (example.com) that has several country sub-sites as separate trees as a country directory under the main domain.
main site: base: 'https://www.example.com/'
country site (separate tree with own site root): base: 'https://www.example.com/it'
We need the cookie banner for some of those country sites, but the backend generates the path to the assets like this:
cookieOptinData--it_IT.UTF-8--0.json:
loadingJavaScript": "https:\/\/www.example.com\/it\/fileadmin\/sg_cookie_optin\/siteroot-272\/analytics-0.js
How can we get rid of the prefix in the path?