aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-03-10 10:06:29 +0100
committerChocobozzz <me@florianbigard.com>2023-03-10 10:06:29 +0100
commit4857f887f73328f2d4492eb04a8126cb7e446668 (patch)
treedb8f7712895e20fe1558ef3b9e9002e7572ad204 /support/doc
parentef19c8ae4c360b0aa9dafc61fa1523a02bbaa25f (diff)
downloadPeerTube-4857f887f73328f2d4492eb04a8126cb7e446668.tar.gz
PeerTube-4857f887f73328f2d4492eb04a8126cb7e446668.tar.zst
PeerTube-4857f887f73328f2d4492eb04a8126cb7e446668.zip
Fix plugin guide
Diffstat (limited to 'support/doc')
-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' }))