aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-03-10 10:06:29 +0100
committerChocobozzz <me@florianbigard.com>2023-03-10 15:45:52 +0100
commit3b2844f80324bc5281f3c0269dc2dad019dd96f1 (patch)
tree3cbaf27355fe9b8408e72390da926df1c0ef1d8d /support
parent2c525a5466c14a345b59f324e6e0874ae88fa3df (diff)
downloadPeerTube-3b2844f80324bc5281f3c0269dc2dad019dd96f1.tar.gz
PeerTube-3b2844f80324bc5281f3c0269dc2dad019dd96f1.tar.zst
PeerTube-3b2844f80324bc5281f3c0269dc2dad019dd96f1.zip
Fix plugin guide
Diffstat (limited to 'support')
-rw-r--r--support/doc/plugins/guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 2cc544f1c..337f3d97f 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -290,7 +290,7 @@ You can create custom routes using an [express Router](https://expressjs.com/en/
290 290
291```js 291```js
292function register ({ 292function register ({
293 router 293 getRouter
294}) { 294}) {
295 const router = getRouter() 295 const router = getRouter()
296 router.get('/ping', (req, res) => res.json({ message: 'pong' })) 296 router.get('/ping', (req, res) => res.json({ message: 'pong' }))