ActivityPub-federated video streaming platform using P2P directly in your web browser
Document update host script
Chocobozzz01a07456e476
diff --git a/scripts/help.sh b/scripts/help.shindex bf4a512798..0f672d5209 100755--- a/scripts/help.sh+++ b/scripts/help.sh@@ -13,10 +13,11 @@ printf " danger:clean:dev -> /!\ Clean certificates, logs, uploads,printf " danger:clean:prod -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified by the production environment\n"printf " danger:clean:modules -> /!\ Clean node and typescript modules\n"printf " play -> Run 3 fresh nodes so that you can test the communication between them\n"-printf " reset-password -- -u [user] -> Reset the password of user [user]\n",+printf " reset-password -- -u [user] -> Reset the password of user [user]\n"printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"printf " start -> Run the server\n"printf " check -> Check the server (according to NODE_ENV)\n"printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n"+printf " update-host -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n"printf " test -> Run the tests\n"printf " help -> Print this help\n"diff --git a/scripts/update-host.js b/scripts/update-host.jsindex 18e35386c9..8ae0f0d0e4 100755--- a/scripts/update-host.js+++ b/scripts/update-host.js@@ -2,8 +2,6 @@'use strict'-// TODO: document this script-const fs = require('fs')const parseTorrent = require('parse-torrent')