Skip to content

Instantly share code, notes, and snippets.

@CBenni
Created Dec 11, 2016
Embed
What would you like to do?
var express = require("express");
var app = express();
var server = require('http').Server(app);
server.listen(9003);
app.get("*", function(req, res, next) {
console.log("Getting url "+req.path);
require('request').get("https://cdn.betterttv.net/emote"+req.path).pipe(res);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment