http page: add welcome

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle
2024-05-19 22:37:02 +07:00
parent 43fbee2b36
commit 9972bfdc01

View File

@@ -90,7 +90,8 @@ server.on('request', (req, res) => {
res.writeHead(200, { res.writeHead(200, {
"Content-Type": "text/plain" "Content-Type": "text/plain"
}); });
res.write("Hello. This nostr bouncer (bostr) is bouncing the following relays:\n\n"); res.write("Welcome to Bostr. A nostr relay aggregator for saving mobile data usage when using nostr.");
res.write("This nostr bouncer is bouncing the following relays:\n\n");
if (config.relays.length) { if (config.relays.length) {
config.relays.forEach(_ => { config.relays.forEach(_ => {