mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	change in referencing CSS resources to allow easier relative linking
This commit is contained in:
		@@ -135,6 +135,8 @@ function register(app) {
 | 
			
		||||
        filesRoute.uploadFile, apiResultHandler);
 | 
			
		||||
 | 
			
		||||
    route(GET, '/api/notes/:noteId/download', [auth.checkApiAuthOrElectron], filesRoute.downloadFile);
 | 
			
		||||
    // this "hacky" path is used for easier referencing of CSS resources
 | 
			
		||||
    route(GET, '/api/notes/download/:noteId', [auth.checkApiAuthOrElectron], filesRoute.downloadFile);
 | 
			
		||||
 | 
			
		||||
    apiRoute(GET, '/api/notes/:noteId/attributes', attributesRoute.getEffectiveNoteAttributes);
 | 
			
		||||
    apiRoute(PUT, '/api/notes/:noteId/attributes', attributesRoute.updateNoteAttributes);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user