Project

General

Profile

Bug #96452

Updated by Oliver Hader almost 3 years ago

* TYPO3 v11.5.4 
 * typo3/cms-composer-installers:4.0.0-RC1 
 * Site Config base @/@ 

 Fronted Result (focus on different occurrences of @_assets/@) 

 <pre> 
   
 <head> 
   
 <link rel="icon" href="/_assets/af46f1853e4e259cbb8ebcb816eb0403/Icons/favicon.ico" type="image/vnd.microsoft.icon"> 
   
 <title>2022</title> 
   
 ... 
   
 <link rel="stylesheet" href="_assets/af46f1853e4e259cbb8ebcb816eb0403/Css/app.css?1640789421" media="all"> 
 ! <script src="_assets/af46f1853e4e259cbb8ebcb816eb0403/JavaScript/external.js?1638873796"></script>                 <!-- ------ CANIDATE 1 --> 
 ! <script src="_assets/af46f1853e4e259cbb8ebcb816eb0403/JavaScript/elements.js?1638968585" type="module"></script> 
   <!-- ------ CANIDATE 2 --> 
 </head> 
   
 ... 
   
 <body> 
   
 ... 
 <img src="/_assets/af46f1853e4e259cbb8ebcb816eb0403/Vectors/indie-musik-ev-logo.svg"> 
 </pre> 

 Both lines missing the site base URI prefix have been defined via TypoScript, thus being added in @<head>@ via @PageRenderer@. 

 <pre> 
 page.includeJSLibs { 
   site_external = EXT:site/Resources/Public/JavaScript/external.js 
   site_elements = EXT:site/Resources/Public/JavaScript/elements.js 
   site_elements.type = module 
 } 
 </pre> 

Back