1
0
Fork 0

Fix plugin guide

This commit is contained in:
Chocobozzz 2023-03-10 10:06:29 +01:00
parent 2c525a5466
commit 3b2844f803
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ You can create custom routes using an [express Router](https://expressjs.com/en/
```js
function register ({
router
getRouter
}) {
const router = getRouter()
router.get('/ping', (req, res) => res.json({ message: 'pong' }))