]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/middlewares/doc.ts
Invalidate cache feed even after server restart
[github/Chocobozzz/PeerTube.git] / server / middlewares / doc.ts
index c43f41977c52e6c312294eb9f155f194198028fd..eef76acaa03e4363bcfd125daef7a75d75264995 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()
   }