ActivityPub-federated video streaming platform using P2P directly in your web browser
Use a filtered proxy without variables
Chocobozzz6848b9f4b2ff
diff --git a/config/test.yaml b/config/test.yamlindex 5d98b41c40..5758c1887e 100644--- a/config/test.yaml+++ b/config/test.yaml@@ -86,9 +86,9 @@ import:videos:http:enabled: true- proxy:- enabled: false- url: ""+ proxy:+ enabled: false+ url: ""torrent:enabled: truediff --git a/scripts/ci.sh b/scripts/ci.shindex 9ff640c8e7..6281e1aa49 100755--- a/scripts/ci.sh+++ b/scripts/ci.sh@@ -9,7 +9,7 @@ fikillall -q peertube || true-perl -0777 -i -pe 's#proxy:(\n\s+)enabled: false\n\s+url: ""#proxy:$1enabled: true$1url: "'"$PROXY_URL"'"#' config/test.yaml+perl -0777 -i -pe 's#proxy:(\n\s+)enabled: false\n\s+url: ""#proxy:$1enabled: true$1url: "https://cpy.re:7899"#' config/test.yamlif [ "$1" = "misc" ]; thennpm run build -- --light-frdiff --git a/server/tests/api/activitypub/refresher.ts b/server/tests/api/activitypub/refresher.tsindex 2a6be97c60..aa4bc6c0f3 100644--- a/server/tests/api/activitypub/refresher.ts+++ b/server/tests/api/activitypub/refresher.ts@@ -91,7 +91,7 @@ describe('Test AP refresher', function () {})it('Should not update a remote video if the remote instance is down', async function () {- this.timeout(60000)+ this.timeout(70000)killallServers([ servers[ 1 ] ])@@ -106,10 +106,6 @@ describe('Test AP refresher', function () {await reRunServer(servers[ 1 ])- // Should not refresh the video, even if the last refresh failed (to avoid a loop on dead instances)- await getVideo(servers[ 0 ].url, videoUUID3)- await waitJobs(servers)-await getVideo(servers[ 0 ].url, videoUUID3, 200)})})diff --git a/shared/extra-utils/videos/video-imports.ts b/shared/extra-utils/videos/video-imports.tsindex ec77cdcda6..150cc94edc 100644--- a/shared/extra-utils/videos/video-imports.ts+++ b/shared/extra-utils/videos/video-imports.ts@@ -3,7 +3,7 @@ import { VideoImportCreate } from '../../models/videos'import { makeGetRequest, makeUploadRequest } from '../requests/requests'function getYoutubeVideoUrl () {- return 'https://youtu.be/msX3jv1XdvM'+ return 'http://www.youtube.com/watch?v=msX3jv1XdvM'}function getMagnetURI () {