netnr/workers

Use Proxy for raw

Opened this issue · 2 comments

I want to fetch raw.githubusercontent.com with proxy, how to do this?

netnr commented

Replace githubusercontent.com with zme.ink

No. Can I use this code in raw github
fetch('accessUrl', {agent: new HttpsProxyAgent('proxyHost:proxyPort')})
.then(function (res) {
})