Skip to content

Commit

Permalink
be not redirected to google to avoid google flow control.
Browse files Browse the repository at this point in the history
netptop committed Sep 18, 2020
1 parent 2e2476f commit 286ed34
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/worker.js
2 changes: 1 addition & 1 deletion cf_index.js
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ var handleRequest = (request) => { // resolve a cf_res eventually.
middle_req.url = middle_req.url.replace(myRe, '')
console.log(`timestr:${timestr}, serverName:${serverName}, middle_req:${JSON.stringify(middle_req)}`)
if (middle_req.url === '' || middle_req.url === '/') {
middle_req.url = '/https/www.google.ca'
middle_req.url = '/https/www.netptop.com'
}
console.log(`${timestr}: after modification, middle_req.url:${middle_req.url}`)
let {readable, writable} = new TransformStream()

0 comments on commit 286ed34

Please sign in to comment.