From f9cf542e66893f71a916606d4a30ab04a560ca8e Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Wed, 18 Jun 2025 17:58:00 +0200 Subject: [PATCH] fix(client): link to API documentation Fixes https://github.com/TriliumNext/Notes/issues/1779 --- apps/client/src/widgets/floating_buttons/code_buttons.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/floating_buttons/code_buttons.ts b/apps/client/src/widgets/floating_buttons/code_buttons.ts index e95266459..63b0d92bb 100644 --- a/apps/client/src/widgets/floating_buttons/code_buttons.ts +++ b/apps/client/src/widgets/floating_buttons/code_buttons.ts @@ -52,9 +52,9 @@ export default class CodeButtonsWidget extends NoteContextAwareWidget { toastService.showMessage(t("code_buttons.opening_api_docs_message")); if (this.note?.mime.endsWith("frontend")) { - window.open("https://zadam.github.io/trilium/frontend_api/FrontendScriptApi.html", "_blank"); + window.open("https://triliumnext.github.io/Notes/Script%20API/interfaces/Frontend_Script_API.Api.html", "_blank"); } else { - window.open("https://zadam.github.io/trilium/backend_api/BackendScriptApi.html", "_blank"); + window.open("https://triliumnext.github.io/Notes/Script%20API/interfaces/Backend_Script_API.Api.html", "_blank"); } });