Fix guestbook api url

This commit is contained in:
Hamza Nasher-Alneam 2024-12-18 14:47:53 -05:00
parent 9dab44d852
commit 4ff64df18f

View file

@ -64,7 +64,7 @@
<button class="post-button" onclick="toggleElement('new-message')">Post a message</button>
<div class="new-message-container" onclick="if (event.target.classList.contains('new-message-container')) toggleElement('new-message')">
<div class="new-message">
<form class="new-message-form" method="POST" action="http://localhost:54321/message">
<form class="new-message-form" method="POST" action="https://guestbook-api.hnasheralneam.dev/message">
<label class="message-header" for="message">Your message for the world</label><br>
<textarea type="text" name="message" placeholder="your post"></textarea><br>
<label class="text-label" for="github">Your GitHub username</label><br>