Add http tracker in torrent too
This commit is contained in:
parent
134337bd07
commit
0edf0581a9
|
@ -63,6 +63,8 @@ git push origin --tag
|
||||||
github-release release --user chocobozzz --repo peertube --tag "$version" --name "$version"
|
github-release release --user chocobozzz --repo peertube --tag "$version" --name "$version"
|
||||||
github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name" --file "$zip_name"
|
github-release upload --user chocobozzz --repo peertube --tag "$version" --name "$zip_name" --file "$zip_name"
|
||||||
|
|
||||||
|
git push origin develop
|
||||||
|
|
||||||
# Update master branch
|
# Update master branch
|
||||||
git checkout master
|
git checkout master
|
||||||
git rebase develop
|
git rebase develop
|
||||||
|
|
|
@ -769,7 +769,8 @@ export class VideoModel extends Model<VideoModel> {
|
||||||
createTorrentAndSetInfoHash = async function (videoFile: VideoFileModel) {
|
createTorrentAndSetInfoHash = async function (videoFile: VideoFileModel) {
|
||||||
const options = {
|
const options = {
|
||||||
announceList: [
|
announceList: [
|
||||||
[ CONFIG.WEBSERVER.WS + '://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT + '/tracker/socket' ]
|
[ CONFIG.WEBSERVER.WS + '://' + CONFIG.WEBSERVER.HOSTNAME + ':' + CONFIG.WEBSERVER.PORT + '/tracker/socket' ],
|
||||||
|
[ CONFIG.WEBSERVER.URL + '/tracker/announce' ]
|
||||||
],
|
],
|
||||||
urlList: [
|
urlList: [
|
||||||
CONFIG.WEBSERVER.URL + STATIC_PATHS.WEBSEED + this.getVideoFilename(videoFile)
|
CONFIG.WEBSERVER.URL + STATIC_PATHS.WEBSEED + this.getVideoFilename(videoFile)
|
||||||
|
|
Loading…
Reference in New Issue