change in referencing CSS resources to allow easier relative linking

This commit is contained in:
zadam
2019-01-27 22:34:41 +01:00
parent f90ed99a40
commit ba1ca506af
3 changed files with 4 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ window.onerror = function (msg, url, lineNo, columnNo, error) {
};
for (const appCssNoteId of window.appCssNoteIds) {
cssLoader.requireCss(`/api/notes/${appCssNoteId}/download`);
cssLoader.requireCss(`/api/notes/download/${appCssNoteId}`);
}
const wikiBaseUrl = "https://github.com/zadam/trilium/wiki/";