mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-23 21:17:11 +08:00
Change Swagger endpoint and site title
This commit is contained in:
parent
18f5f1b759
commit
d859f50c98
@ -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"
|
||||
})
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user