mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			434 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			434 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/*
 | 
						|
 * Make sure not to import any modules that depend on localized messages via i18next here, as the initializations
 | 
						|
 * are loaded later and will result in an empty string.
 | 
						|
 */
 | 
						|
 | 
						|
import { initializeTranslations } from "./services/i18n.js";
 | 
						|
 | 
						|
async function startApplication() {
 | 
						|
    await initializeTranslations();
 | 
						|
    const startTriliumServer = (await import("./www.js")).default;
 | 
						|
    await startTriliumServer();
 | 
						|
}
 | 
						|
 | 
						|
startApplication();
 |