diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-22 16:15:14 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-22 16:15:14 +0100 |
commit | c5c95361e6adca439ae316066366e520797f9ec0 (patch) | |
tree | febf82864951f04f6c71df51107fe2231a0c6a7a /server/middlewares/error.ts | |
parent | 6a160a0c9d46ee226fd0ca32ca0612e5b88881ec (diff) | |
download | PeerTube-c5c95361e6adca439ae316066366e520797f9ec0.tar.gz PeerTube-c5c95361e6adca439ae316066366e520797f9ec0.tar.zst PeerTube-c5c95361e6adca439ae316066366e520797f9ec0.zip |
Move to new documentation links
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 | ||