We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e69716 commit 5670f02Copy full SHA for 5670f02
polls/templates/polls/chat.html
@@ -21,7 +21,7 @@ <h1 class="text-center mb-5">Ask Open AI</h1>
21
<script>
22
function sendMessage() {
23
const text = document.getElementById('userInput').value;
24
- fetch('/chat/', {
+ fetch('/polls/chat/', {
25
method: 'POST',
26
headers: {'Content-Type': 'application/json'},
27
body: JSON.stringify({message: text})
0 commit comments