mirror of
https://github.com/s00500/nodeMessageBoard.git
synced 2025-07-12 14:01:01 +00:00
First poc
This commit is contained in:
@ -8,7 +8,7 @@ server = require('./server');
|
||||
function sendInterface(response) {
|
||||
console.log("Request handler 'interface' was called.");
|
||||
response.writeHead(200, {"Content-Type": "text/html"});
|
||||
var html = fs.readFileSync(__dirname + "board.html")
|
||||
var html = fs.readFileSync(__dirname + "/board.html")
|
||||
response.end(html);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user