Skip to content

Commit

Permalink
feat: replaced api url with new one for local dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Rassl committed Sep 12, 2024
1 parent 8556c10 commit 3972272
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/apiUrlFromSwarmHost/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export function apiUrlFromSwarmHost(): string | undefined {

url = `https://${finalHost}`
}
} else if (originUrl === 'https://second-brain.sphinx.chat' || origin.includes('localhost')) {
url = 'https://knowledge-graph.sphinx.chat'
} else if (origin.includes('localhost')) {
url = 'https://bitcoin.sphinx.chat'
}

return `${url}/api`
Expand Down

0 comments on commit 3972272

Please sign in to comment.