1
0

more routingchanges

This commit is contained in:
Lukas Bachschwell 2016-06-28 20:15:57 +02:00
parent 92522aae02
commit e5a2a5888d

View File

@ -50,12 +50,19 @@ function sendJqueryUI(response) {
function sendClear(response) { function sendClear(response) {
console.log("Request handler 'clear' was called."); console.log("Request handler 'clear' was called.");
response.writeHead(200, {"Content-Type": "text/html"}); response.writeHead(200, {"Content-Type": "text/html"});
var html = fs.readFileSync(__dirname + "/clear.html") var html = fs.readFileSync(__dirname + "/clear.html");
response.end(html); response.end(html);
} }
function sendDemo(response) {
console.log("Request handler 'demo' was called.");
response.writeHead(200, {"Content-Type": "text/html"});
var html = fs.readFileSync(__dirname + "/demo.html");
response.end(html);
}
exports.sendClear = sendClear; exports.sendClear = sendClear;
exports.sendDemo = sendDemo;
exports.sendBootstrap = sendBootstrap; exports.sendBootstrap = sendBootstrap;