diff options
Diffstat (limited to 'server/middlewares/error.ts')
-rw-r--r-- | server/middlewares/error.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/error.ts b/server/middlewares/error.ts index 96a85012a..7b116eb57 100644 --- a/server/middlewares/error.ts +++ b/server/middlewares/error.ts | |||
@@ -28,7 +28,7 @@ function apiFailMiddleware (req: express.Request, res: express.Response, next: e | |||
28 | detail: message, | 28 | detail: message, |
29 | 29 | ||
30 | type: type | 30 | type: type |
31 | ? `https://docs.joinpeertube.org/api-rest-reference.html#section/Errors/${type}` | 31 | ? `https://docs.joinpeertube.org/api/rest-reference.html#section/Errors/${type}` |
32 | : undefined | 32 | : undefined |
33 | }, extension) | 33 | }, extension) |
34 | 34 | ||