mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
rename canvas_note_share to canvas_share to align witih refactor
This commit is contained in:
parent
3491e71084
commit
26f3c1d453
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user