mirror of
https://github.com/s00500/nodeMessageBoard.git
synced 2024-11-21 13:10:55 +00:00
more routingchanges
This commit is contained in:
parent
92522aae02
commit
e5a2a5888d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user