Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
aniketmaurya committed Feb 15, 2024
1 parent bae9125 commit 1c393e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/src/components/ImageCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default {
},
async postRequest(newPrompt) {
try {
const response = await fetch('http://127.0.0.1:8000/endpoint', {
const response = await fetch('/endpoint', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 1c393e2

Please sign in to comment.