refactor
This commit is contained in:
		
							parent
							
								
									ff1a20d74a
								
							
						
					
					
						commit
						75fea13626
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -18,6 +18,8 @@ require('./common/tags');
 | 
			
		|||
 | 
			
		||||
console.info(`Misskey v${VERSION} (葵 aoi)`);
 | 
			
		||||
 | 
			
		||||
document.domain = CONFIG.host;
 | 
			
		||||
 | 
			
		||||
{ // Set lang attr
 | 
			
		||||
	const html = document.documentElement;
 | 
			
		||||
	html.setAttribute('lang', LANG);
 | 
			
		||||
| 
						 | 
				
			
			@ -31,8 +33,6 @@ console.info(`Misskey v${VERSION} (葵 aoi)`);
 | 
			
		|||
	head.appendChild(meta);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
document.domain = CONFIG.host;
 | 
			
		||||
 | 
			
		||||
// Set global configuration
 | 
			
		||||
(riot as any).mixin({ CONFIG });
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue