Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ app.get('/mcgrealife', function(request, response) {
response.send('dreams of seeing dynamic lists augmented on reality walls 🤓');
});

app.get('/gorilinos', function(request, response) {
response.send('I will be the Pirate King! ');
});

// listen for requests :)
const listener = app.listen(process.env.PORT, function() {
console.log('Your app is listening on port ' + listener.address().port);
Expand Down
3 changes: 3 additions & 0 deletions views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ <h2>
<li>
<a href="/mcgrealife">mcgrealife</a>
</li>
<li>
<a href="/gorilinos">gorilinos</a>
</li>
<!-- add a link to your endpoint here -->
<!-- link to the endpoint name you added in server.js -->
<!-- use any text you like as the content of the anchor element -->
Expand Down