From 4118332e8b3287a220cd22e797a1e738c8c64c0f Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Thu, 21 Aug 2025 10:03:29 -0600 Subject: [PATCH] Add a lil message for those who might see this! --- index.js | 3 ++- msg.html | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 msg.html diff --git a/index.js b/index.js index 4604d38..c273e7e 100644 --- a/index.js +++ b/index.js @@ -84,7 +84,8 @@ app.get('/time.php', (req, res) => { const parts = formatter.formatToParts(date); const get = type => parts.find(p => p.type === type).value; const formatted = `${get('day')}${get('month')}${get('year')}${get('hour')}${get('minute')}${get('second')}`; - res.send(formatted); + const msg = fs.readFileSync(path.join(__dirname, 'msg.html'), 'utf8'); + res.send(`${formatted}

${msg}`); } catch (e) { res.status(400).send('Invalid timezone'); } diff --git a/msg.html b/msg.html new file mode 100644 index 0000000..22db1ca --- /dev/null +++ b/msg.html @@ -0,0 +1,13 @@ + + + + + + Teknikk FA Clock v2 + + + Oh hello there. I'm sure you're wondering why this is alive again. Well, I'm not affiliated with Teknikk sadly, but I did find out the old domain was for sale and snagged it up. I figured hey, why not keep the old time server alive and get rid of those pesky HTTPSERVICE IS REQUIRED messages.

+ My name is Chris by the way, I am the lead dev on a small group called KCA Development. You can pop by our Discord if you want to chat!\n\nI'll keep this up, it doesn't cost me much to run, and I like the idea that some random person on the internet might see the clocks are working again lol

+ - Chris + + \ No newline at end of file