Skip to content

Commit

Permalink
(feat): switch back to prod URL
Browse files Browse the repository at this point in the history
  • Loading branch information
samyakkkk committed Aug 15, 2024
1 parent 863abfa commit 9d38a75
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion web/src/lib/components/SettingsAgent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
method="POST"
on:submit|preventDefault={handleSubmitContribution}
class="w-full"
action="http://127.0.0.1:5000/agent/contribute-source"
action="https://api.commanddash.dev/agent/contribute-source"
>
<div class="flex flex-row">
<select
Expand Down
2 changes: 1 addition & 1 deletion web/src/lib/components/chat/ChatIntroduction.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
};
try {
const response = await fetch(
"http://127.0.0.1:5000/agent/notify",
"https://api.commanddash.dev/agent/notify",
{
method: "POST",
body: JSON.stringify(data),
Expand Down
2 changes: 1 addition & 1 deletion web/src/lib/components/chat/ChatWindow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
try {
const response = await fetch(
"http://127.0.0.1:5000/v2/ai/agent/answer",
"https://api.commanddash.dev/v2/ai/agent/answer",
{
method: "POST",
body: JSON.stringify(agentData),
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
onMount(async () => {
loading = true;
const response = await fetch(
"http://127.0.0.1:5000/agent/web/get-agent-list",
"https://api.commanddash.dev/agent/web/get-agent-list",
{
headers: {
"Content-Type": "application/json",
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/agent/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
});
const response = await fetch(
"http://127.0.0.1:5000/agent/get-latest-agent",
"https://api.commanddash.dev/agent/get-latest-agent",
{
method: "POST",
headers: {
Expand Down
2 changes: 1 addition & 1 deletion web/src/routes/agent/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
const ref: string = $page.url.searchParams.get("github") || "";
const response = await fetch(
"http://127.0.0.1:5000/agent/get-latest-agent",
"https://api.commanddash.dev/agent/get-latest-agent",
{
method: "POST",
headers: {
Expand Down

0 comments on commit 9d38a75

Please sign in to comment.