Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit a37af29

Browse files
authored
fix(client): link to API documentation (#2356)
2 parents ade0d4b + f9cf542 commit a37af29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/client/src/widgets/floating_buttons/code_buttons.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ export default class CodeButtonsWidget extends NoteContextAwareWidget {
5252
toastService.showMessage(t("code_buttons.opening_api_docs_message"));
5353

5454
if (this.note?.mime.endsWith("frontend")) {
55-
window.open("https://zadam.github.io/trilium/frontend_api/FrontendScriptApi.html", "_blank");
55+
window.open("https://triliumnext.github.io/Notes/Script%20API/interfaces/Frontend_Script_API.Api.html", "_blank");
5656
} else {
57-
window.open("https://zadam.github.io/trilium/backend_api/BackendScriptApi.html", "_blank");
57+
window.open("https://triliumnext.github.io/Notes/Script%20API/interfaces/Backend_Script_API.Api.html", "_blank");
5858
}
5959
});
6060

0 commit comments

Comments
 (0)