mirror of
https://gitlab.com/octtspacc/Friendiiverse
synced 2025-06-05 21:49:22 +02:00
Fix html elements proxying; Fix polyfills
This commit is contained in:
@@ -4,13 +4,11 @@ const Port = 44380;
|
||||
const Blacklist = [];
|
||||
const Whitelist = [];
|
||||
|
||||
//const cors_proxy = require('./lib/cors-anywhere');
|
||||
/*cors_proxy*/
|
||||
require('./node_modules/cors-anywhere/lib/cors-anywhere').createServer({
|
||||
originBlacklist: Blacklist,
|
||||
originWhitelist: Whitelist,
|
||||
removeHeaders: ['cookie', 'cookie2'],
|
||||
redirectSameOrigin: true,
|
||||
httpProxyOptions: {xfwd: false},
|
||||
}).listen(Port, Host, function() {
|
||||
console.log(`Running proxy on ${Host}:${Port}`);
|
||||
});
|
||||
|
Reference in New Issue
Block a user