15. index.js

Created Saturday 30 November 2013

var server = require ("./server");
var router = require ("./router");
var requestHandlers = require ("./requestHandlers");

var handle = {};
handle ["/"] = requestHandlers.start;
handle ["/start"] = requestHandlers.start;
handle ["/upload"] = requestHandlers.upload;

server.start (router.route, handle);



Backlinks: