added link to brew tea in teapot

This commit is contained in:
reallyniceusername 2023-06-27 11:56:30 +00:00
parent dca9b6d142
commit 4bade2308c
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,8 @@
# return error if asked for not tea
if($brew !== 'tea'){
http_response_code(418);
echo('Error 418: I\'m a teapot!');
echo('<p>Error 418: I\'m a teapot!<p>');
echo('<a href=\'./teapot.php?brew=tea\'>Brew tea</a>');
die();
}