Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (7 sloc) 0.279 kB
http = require 'http'
strategy = require './strategy'
{Router,handle} = require './router'
router = new Router
router.register /youtu(\.be|be\.com)/i, strategy.youtube
router.register /.*/, strategy.base
(http.createServer (handle router)).listen process.env.app_port or 8080
Jump to Line
Something went wrong with that request. Please try again.