Skip to content

Instantly share code, notes, and snippets.

@j5at
j5at / gist:5877600
Created June 27, 2013 15:48
~/.weinre/server.properties
boundHost: -all-
httpPort: 33127
reuseAddr: true
readTimeout: 1
deathTimeout: 5
/* Script Injection For use with Weinre */
var httpProxy = require('http-proxy');
var url = require('url');
httpProxy.createServer(function(req, res, proxy) {
var isHtml = false,
write = res.write,
writeHead = res.writeHead,