Type of TYPO3 installation
Expected behavior
Assets of the extension are loaded by the browser.
Actual behavior
404 for loading JS and CSS files.
Steps to reproduce
If you have an installation where the website is not located directly on the domain, but in a subfolder, loading the assets will fail because of the leading "/" slash in the path.
www.domain.tld works fine whereas a baseUrl like www.domain.tld/web/ or localhost/customer/project does not.
Removing it ("/") from AssetsRenderer::renderHead fixes the issue.
Type of TYPO3 installation
Expected behavior
Assets of the extension are loaded by the browser.
Actual behavior
404 for loading JS and CSS files.
Steps to reproduce
If you have an installation where the website is not located directly on the domain, but in a subfolder, loading the assets will fail because of the leading "/" slash in the path.
www.domain.tldworks fine whereas a baseUrl likewww.domain.tld/web/orlocalhost/customer/projectdoes not.Removing it ("/") from
AssetsRenderer::renderHeadfixes the issue.