mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
idk
This commit is contained in:
@@ -66,7 +66,7 @@ export default function register(app: Application) {
|
||||
log.info(`[DEBUG] Request to /etapi/docs/: ${req.method} ${req.url}`);
|
||||
next();
|
||||
},
|
||||
swaggerUi.serveFiles(etapiDocument),
|
||||
swaggerUi.serve,
|
||||
swaggerUi.setup(etapiDocument, {
|
||||
explorer: true,
|
||||
customSiteTitle: "TriliumNext ETAPI Documentation"
|
||||
@@ -75,7 +75,7 @@ export default function register(app: Application) {
|
||||
|
||||
app.use(
|
||||
"/api/docs/",
|
||||
swaggerUi.serveFiles(apiDocument),
|
||||
swaggerUi.serve,
|
||||
swaggerUi.setup(apiDocument, {
|
||||
explorer: true,
|
||||
customSiteTitle: "TriliumNext Internal API Documentation"
|
||||
|
||||
Reference in New Issue
Block a user