mirror of
https://github.com/s00500/nodeMessageBoard.git
synced 2024-11-21 23:20:53 +00:00
12 lines
297 B
JavaScript
12 lines
297 B
JavaScript
var server = require("./server");
|
|
var router = require("./route");
|
|
var requestHandlers = require("./requestHandlers");
|
|
|
|
var debug = false;
|
|
|
|
var handle = {}
|
|
handle["/"] = requestHandlers.sendInterface;
|
|
handle["/interface"] = requestHandlers.sendInterface;
|
|
|
|
server.start(router.route,handle,debug);
|