mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Making changes for cloudflare
This commit is contained in:
@@ -26,7 +26,7 @@ var server;
|
|||||||
cors_proxy.createServer({
|
cors_proxy.createServer({
|
||||||
requireHeader: ['origin', 'x-requested-with'],
|
requireHeader: ['origin', 'x-requested-with'],
|
||||||
removeHeaders: ['cookie', 'cookie2'],
|
removeHeaders: ['cookie', 'cookie2'],
|
||||||
httpsOptions: credentials
|
//httpsOptions: credentials
|
||||||
}).listen(8080, function() {
|
}).listen(8080, function() {
|
||||||
console.log('Running CORS Anywhere on :' + 8080);
|
console.log('Running CORS Anywhere on :' + 8080);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user