mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	fix printing port to console #1219
This commit is contained in:
		
							parent
							
								
									7400c91a4f
								
							
						
					
					
						commit
						032ffa8367
					
				| @ -31,7 +31,7 @@ function isDbInitialized() { | |||||||
| 
 | 
 | ||||||
| async function initDbConnection() { | async function initDbConnection() { | ||||||
|     if (!isDbInitialized()) { |     if (!isDbInitialized()) { | ||||||
|         log.info(`DB not initialized, please visit setup page` + (utils.isElectron() ? '' : ` - http://[your-server-host]:${port} to see instructions on how to initialize Trilium.`)); |         log.info(`DB not initialized, please visit setup page` + (utils.isElectron() ? '' : ` - http://[your-server-host]:${await port} to see instructions on how to initialize Trilium.`)); | ||||||
| 
 | 
 | ||||||
|         return; |         return; | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam