From bbb8d4371618f5bf91da339961e0f9ae05359ab4 Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Mon, 12 Aug 2019 18:14:08 +0530 Subject: [PATCH] rc: (docs) Add new parameters --rc-web-gui and --rc-allow-origin, --rc-web-fetch-url and rc-web-gui-update to documentation. --- docs/content/rc.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/content/rc.md b/docs/content/rc.md index 87f09f4b9..cb05c3df3 100644 --- a/docs/content/rc.md +++ b/docs/content/rc.md @@ -85,6 +85,32 @@ style. Default Off. +### --rc-web-gui + +Set this flag to serve the default web gui on the same port as rclone. + +Default Off. + +### --rc-allow-origin + +Set the allowed Access-Control-Allow-Origin for rc requests. + +Can be used with --rc-web-gui if the rclone is running on different IP than the web-gui. + +Default is IP address on which rc is running. + +### --rc-web-fetch-url + +Set the URL to fetch the rclone-web-gui files from. + +Default https://api.github.com/repos/rclone/rclone-webui-react/releases/latest. + +### --rc-web-gui-update + +Set this flag to Download / Force update rclone-webui-react from the rc-web-fetch-url. + +Default Off. + ### --rc-job-expire-duration=DURATION Expire finished async jobs older than DURATION (default 60s).