change html
This commit is contained in:
parent
992450e9d3
commit
be51de55a2
1 changed files with 14 additions and 1 deletions
15
index.js
15
index.js
|
|
@ -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, () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue