serve basic page at api endpoint to redirect user

This commit is contained in:
Sorrel Bri 2020-01-18 13:24:00 -08:00
parent 1d0111567c
commit e4f84275b4
2 changed files with 17 additions and 0 deletions

17
server/public/index.html Normal file
View file

@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style.css" rel="stylesheet" type="text/css" />
<title>Node Go API</title>
</head>
<body>
<h1>Node Go API</h1>
<p>Hello! You've found the Node Go API endpoint. You're probably here to:</p>
<ul>
<li><a href="https://play-node-go.herokuapp.com">Play Node Go</a></li>
<li><a href="https://github.com/sorrelbri/node-go">Learn more about how Node Go was built</a></li>
</ul>
</body>
</html>

0
server/public/style.css Normal file
View file