]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/doc.ts
Merge remote-tracking branch 'weblate/develop' into develop
[github/Chocobozzz/PeerTube.git] / server / middlewares / doc.ts
index eef76acaa03e4363bcfd125daef7a75d75264995..c43f41977c52e6c312294eb9f155f194198028fd 100644 (file)
@@ -5,7 +5,7 @@ function openapiOperationDoc (options: {
   operationId?: string
 }) {
   return (req: express.Request, res: express.Response, next: express.NextFunction) => {
-    res.locals.docUrl = options.url || 'https://docs.joinpeertube.org/api-rest-reference.html#operation/' + options.operationId
+    res.locals.docUrl = options.url || 'https://docs.joinpeertube.org/api/rest-reference.html#operation/' + options.operationId
 
     if (next) return next()
   }