2
1
mirror of https://github.com/s00500/nodeMessageBoard.git synced 2025-07-13 10:11:00 +00:00

added emoji-font for standardised experience

This commit is contained in:
2017-03-16 21:07:12 +01:00
parent 195e1eca34
commit 1f2104e8e2
5 changed files with 20 additions and 0 deletions

View File

@ -47,9 +47,17 @@ function sendDemo(response) {
response.end(html);
}
function sendEmojiTtf(response) {
console.log("Request handler 'EmojiTtf' was called.");
response.writeHead(200, {"Content-Type": "font/ttf"});
var html = fs.readFileSync(__dirname + "/served/NotoColorEmoji.ttf")
response.end(html);
}
exports.sendClear = sendClear;
exports.sendDemo = sendDemo;
exports.sendEmojiTtf = sendEmojiTtf;
exports.sendBootstrap = sendBootstrap;
exports.sendJqueryUI = sendJqueryUI;