chore(backend): fix duplicated css preload
This commit is contained in:
		
							parent
							
								
									ceba976fe8
								
							
						
					
					
						commit
						9c5dfd2da7
					
				
					 1 changed files with 3 additions and 5 deletions
				
			
		|  | @ -37,11 +37,9 @@ html | ||||||
| 		link(rel='stylesheet' href='/assets/fontawesome/css/all.css') | 		link(rel='stylesheet' href='/assets/fontawesome/css/all.css') | ||||||
| 		link(rel='modulepreload' href=`/assets/${clientEntry.file}`) | 		link(rel='modulepreload' href=`/assets/${clientEntry.file}`) | ||||||
| 
 | 
 | ||||||
| 		each href in clientEntry.css | 		if Array.isArray(clientEntry.css) | ||||||
| 			link(rel='preload' href=`/assets/${href}` as='style') | 			each href in clientEntry.css | ||||||
| 
 | 				link(rel='preload' href=`/assets/${href}` as='style') | ||||||
| 		each href in clientEntry.css |  | ||||||
| 			link(rel='preload' href=`/assets/${href}` as='style') |  | ||||||
| 
 | 
 | ||||||
| 		title | 		title | ||||||
| 			block title | 			block title | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue