Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: netptop/siteproxy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: evenbsies/siteproxy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

There isn’t anything to compare.

netptop:master and evenbsies:master are entirely different commit histories.

Showing with 2 additions and 2 deletions.
  1. +2 −2 test/cloudflare.test.js
4 changes: 2 additions & 2 deletions test/cloudflare.test.js
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ test('post operation', async () => {
}, 15000); // should be done within 3 seconds.

test('youtube redirect 302', async () => {
const url = `${httpprefix}://${serverName}:${port}/https/www.youtube.com/channel/UCAq_xQV8pJ2Q_KOszzaYPBg/feed?disable_polymer=1`
const url = `${httpprefix}://${serverName}:${port}/http/www.youtube.com/channel/UCAq_xQV8pJ2Q_KOszzaYPBg/feed?disable_polymer=1`
const response = await axios({
method: 'get',
maxRedirects: 0,
@@ -44,5 +44,5 @@ test('youtube redirect 302', async () => {
})
// console.log(`${JSON.stringify(response.headers)}`)
//console.log(`${JSON.stringify(response.data)}`)
expect(response.headers['location'].indexOf(`https://m.youtube`)).toBe(-1)
expect(response.headers['location'].indexOf(`/https/www.youtube`)).not.toBe(-1)
}, 15000); // should be done within 3 seconds.