mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	rename canvas_note_share to canvas_share to align witih refactor
This commit is contained in:
		| @@ -114,7 +114,7 @@ document.addEventListener("DOMContentLoaded", function() { | |||||||
|             <div id="excalidraw-app"></div> |             <div id="excalidraw-app"></div> | ||||||
|             <hr> |             <hr> | ||||||
|             <a href="api/images/${note.noteId}/${note.title}?utc=${note.utcDateModified}">Get Image Link</a> |             <a href="api/images/${note.noteId}/${note.title}?utc=${note.utcDateModified}">Get Image Link</a> | ||||||
|             <script src="./canvas_note_share.js"></script> |             <script src="./canvas_share.js"></script> | ||||||
|         </div>`; |         </div>`; | ||||||
|     } |     } | ||||||
|     else { |     else { | ||||||
|   | |||||||
| @@ -58,7 +58,7 @@ function register(router) { | |||||||
|         }); |         }); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     router.use('/share/canvas_note_share.js', express.static(path.join(__dirname, 'canvas_note_share.js'))); |     router.use('/share/canvas_share.js', express.static(path.join(__dirname, 'canvas_share.js'))); | ||||||
|  |  | ||||||
|     router.get(['/share', '/share/'], (req, res, next) => { |     router.get(['/share', '/share/'], (req, res, next) => { | ||||||
|         shacaLoader.ensureLoad(); |         shacaLoader.ensureLoad(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user