1
0
Fork 0

more routingchanges

This commit is contained in:
Lukas Bachschwell 2016-06-28 20:15:57 +02:00
parent 92522aae02
commit e5a2a5888d
1 changed files with 8 additions and 1 deletions

View File

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