Skip to content

Instantly share code, notes, and snippets.

View necrower's full-sized avatar

Mario C. Costa Junior necrower

View GitHub Profile
@necrower
necrower / Javascript
Created April 27, 2012 02:01 — forked from szimek/server.js
Node.js: Basic server for XMPP BOSH
var util = require('util'),
express = require('express'),
httpProxy = require('http-proxy');
var app = express.createServer(),
proxy = new httpProxy.HttpProxy();
app.configure(function() {
app.use(express.static(__dirname + "/public"));
});