Skip to content

Instantly share code, notes, and snippets.

@MarkBlah
MarkBlah / slither-proxy.js
Created May 27, 2018 05:28
fix for slither on macOS
var http = require('http'),
httpProxy = require('http-proxy');
var crypto = require('crypto');
var proxy = httpProxy.createServer({
//target: 'ws://139.99.130.166:444',
target: 'ws://139.99.130.217:444',
preserveHeaderKeyCase: false,
ws: true
}).listen(4444);