Skip to content

Commit

Permalink
Removed no-cors mode
Browse files Browse the repository at this point in the history
  • Loading branch information
omagdy7 committed Nov 6, 2023
1 parent 976b499 commit b8b0805
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ollama.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ async function promptLLM(prompt: string) {
try {
const response = await fetch(`http://${logseq.settings.host}/api/generate`, {
method: 'POST',
mode: 'no-cors',
headers: {
'Content-Type': 'application/json',
},
Expand Down

0 comments on commit b8b0805

Please sign in to comment.