From d859f50c9881fa101d21b113c08d703ee1253049 Mon Sep 17 00:00:00 2001 From: perf3ct Date: Sun, 9 Feb 2025 22:17:31 +0000 Subject: [PATCH] Change Swagger endpoint and site title --- src/routes/api_docs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/api_docs.ts b/src/routes/api_docs.ts index 7546c50d1..f2fb9e08e 100644 --- a/src/routes/api_docs.ts +++ b/src/routes/api_docs.ts @@ -12,11 +12,11 @@ const swaggerDocument = yaml.load( function register(router: Router) { router.use( - "/api-docs", + "/etapi", swaggerUi.serve, swaggerUi.setup(swaggerDocument, { explorer: true, - customSiteTitle: "Trilium ETAPI Documentation" + customSiteTitle: "TriliumNext ETAPI Documentation" }) ); }