Skip to content

Commit

Permalink
Merge pull request #12 from abdullah85/main
Browse files Browse the repository at this point in the history
Fixed URL for AI chatbot
  • Loading branch information
abdullah85 authored Feb 7, 2025
2 parents 42a2882 + 46ddb10 commit 4c1ee1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ <h1>
document.getElementById('chatbox').style.animation = 'glow 1.5s infinite alternate';

try {
const response = await fetch('http://127.0.0.1:8000/query', {
const response = await fetch('/query', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 4c1ee1e

Please sign in to comment.