Skip to content

Commit b249b09

Browse files
committed
404 page, more complete html in example ./public
1 parent 54628cb commit b249b09

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

public/404.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<html>
2+
<head>
3+
<title>404</title>
4+
</head>
5+
<body>
6+
<h1>404</h1>
7+
8+
<p>Were you just making up filenames or what?</p>
9+
</body>
10+
</html>

public/index.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
<h1>Serving up static files like they were turtles strapped to rockets.</h1>
1+
<html>
2+
<head>
3+
<title>node.js http server</title>
4+
</head>
5+
<body>
26

3-
<img src="./img/turtle.png"/>
7+
<h1>Serving up static files like they were turtles strapped to rockets.</h1>
8+
9+
<img src="./img/turtle.png"/>
10+
</body>
11+
</html>
412

0 commit comments

Comments
 (0)