change html

This commit is contained in:
counterweight 2025-02-06 19:11:41 +01:00
parent 992450e9d3
commit be51de55a2
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

@ -3,7 +3,20 @@ const app = express();
const port = 3000;
app.get('/', (req, res) => {
res.send("Hello World! We're live");
res.send(`
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello World</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>Hello World! We're live</h1>
<p>Now this is some production grade stuff, baby!</p>
</body>
</html>
`);
});
app.listen(port, () => {