Change Swagger endpoint and site title

This commit is contained in:
perf3ct 2025-02-09 22:17:31 +00:00
parent 18f5f1b759
commit d859f50c98
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232

View File

@ -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"
})
);
}