Skip to content

Commit 5670f02

Browse files
authored
Update chat.html
1 parent 5e69716 commit 5670f02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

polls/templates/polls/chat.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1 class="text-center mb-5">Ask Open AI</h1>
2121
<script>
2222
function sendMessage() {
2323
const text = document.getElementById('userInput').value;
24-
fetch('/chat/', {
24+
fetch('/polls/chat/', {
2525
method: 'POST',
2626
headers: {'Content-Type': 'application/json'},
2727
body: JSON.stringify({message: text})

0 commit comments

Comments
 (0)