Skip to content

Commit 8bc34d8

Browse files
authored
Add a link to send to log
1 parent 1d45af7 commit 8bc34d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ try {
2222
app.get('/', (req, res) => {
2323

2424
res.send (`
25+
<a href="/sendtolog?message=hello">send a message to the log</a><p>
2526
hostname : ${hostname}<p>
2627
uptime : ${uptime}<p>
2728
arch : ${arch}<p>
@@ -48,4 +49,4 @@ try {
4849
catch (e) {
4950
console.error('Error on startup');
5051
console.error(e);
51-
}
52+
}

0 commit comments

Comments
 (0)