diff options
author | John Livingston <git@john-livingston.fr> | 2023-08-08 13:45:53 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-08-17 13:38:26 +0200 |
commit | e6c12444aab00413fed35c4573ac6b5ad24f4d24 (patch) | |
tree | 486af6ca73f69c0630341f5eab47932cfbe80e52 | |
parent | cb78deba475773d208ae0ff32107fc5dd3dde11f (diff) | |
download | PeerTube-e6c12444aab00413fed35c4573ac6b5ad24f4d24.tar.gz PeerTube-e6c12444aab00413fed35c4573ac6b5ad24f4d24.tar.zst PeerTube-e6c12444aab00413fed35c4573ac6b5ad24f4d24.zip |
Enhance registerClientRoute documentation:
Adding the path on which routes created with registerClientRoute are
available.
-rw-r--r-- | support/doc/plugins/guide.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md index 147c5fcaf..afc5b9337 100644 --- a/support/doc/plugins/guide.md +++ b/support/doc/plugins/guide.md | |||
@@ -870,6 +870,7 @@ function register ({ registerClientRoute }) { | |||
870 | } | 870 | } |
871 | ``` | 871 | ``` |
872 | 872 | ||
873 | You can then access the page on `/p/my-super/route` (please note the additionnal `/p/` in the path). | ||
873 | 874 | ||
874 | ### Publishing | 875 | ### Publishing |
875 | 876 | ||