serve basic page at api endpoint to redirect user
This commit is contained in:
parent
1d0111567c
commit
e4f84275b4
2 changed files with 17 additions and 0 deletions
17
server/public/index.html
Normal file
17
server/public/index.html
Normal 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
0
server/public/style.css
Normal file
Loading…
Reference in a new issue