mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	chore(monorepo/server): fix db asset path
This commit is contained in:
		
							parent
							
								
									6543d6c362
								
							
						
					
					
						commit
						2aad162f8e
					
				| Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB | 
| @ -3,7 +3,7 @@ import path from "path"; | |||||||
| import fs from "fs"; | import fs from "fs"; | ||||||
| 
 | 
 | ||||||
| import { fileURLToPath } from "url"; | import { fileURLToPath } from "url"; | ||||||
| export const RESOURCE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../.."); | export const RESOURCE_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../assets"); | ||||||
| 
 | 
 | ||||||
| // where the "trilium" executable is
 | // where the "trilium" executable is
 | ||||||
| const ELECTRON_APP_ROOT_DIR = path.resolve(RESOURCE_DIR, "../.."); | const ELECTRON_APP_ROOT_DIR = path.resolve(RESOURCE_DIR, "../.."); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran