Skip to content

Commit cee7738

Browse files
committed
fix(Base URL): Changed BASE URL from stage to prod
1 parent 731eec1 commit cee7738

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

web/src/lib/components/SettingsAgent.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
method="POST"
215215
on:submit|preventDefault={handleSubmitContribution}
216216
class="w-full"
217-
action="https://stage.commanddash.dev/agent/contribute-source"
217+
action="https://api.commanddash.dev/agent/contribute-source"
218218
>
219219
<div class="flex flex-row">
220220
<select

web/src/lib/components/chat/ChatIntroduction.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
};
3535
try {
3636
const response = await fetch(
37-
"https://stage.commanddash.dev/agent/notify",
37+
"https://api.commanddash.dev/agent/notify",
3838
{
3939
method: "POST",
4040
body: JSON.stringify(data),

web/src/lib/components/chat/ChatWindow.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
111111
try {
112112
const response = await fetch(
113-
"https://stage.commanddash.dev/v2/ai/agent/answer",
113+
"https://api.commanddash.dev/v2/ai/agent/answer",
114114
{
115115
method: "POST",
116116
body: JSON.stringify(agentData),
@@ -153,7 +153,7 @@
153153
};
154154
try {
155155
const response = await fetch(
156-
"https://stage.commanddash.dev/agent/notify",
156+
"https://api.commanddash.dev/agent/notify",
157157
{
158158
method: "POST",
159159
body: JSON.stringify(data),
@@ -221,7 +221,7 @@
221221
try {
222222
loading = true;
223223
const response = await fetch(
224-
"https://stage.commanddash.dev/agent/validate-access",
224+
"https://api.commanddash.dev/agent/validate-access",
225225
{
226226
headers: {
227227
"Content-Type": "application/json",

web/src/routes/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,14 @@
3939
loading = true;
4040
try {
4141
const [existingResponse, newResponse] = await Promise.all([
42-
fetch("https://stage.commanddash.dev/agent/web/get-agent-list", {
42+
fetch("https://api.commanddash.dev/agent/web/get-agent-list", {
4343
headers: {
4444
"Content-Type": "application/json",
4545
},
4646
method: "POST",
4747
body: JSON.stringify({ cli_version: "0.0.1" }),
4848
}),
49-
fetch("https://stage.commanddash.dev/agent/web/get-highlighted-agent-list", {
49+
fetch("https://api.commanddash.dev/agent/web/get-highlighted-agent-list", {
5050
headers: {
5151
"Content-Type": "application/json",
5252
},

web/src/routes/agent/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
});
7373
7474
const response = await fetch(
75-
"https://stage.commanddash.dev/agent/get-latest-agent",
75+
"https://api.commanddash.dev/agent/get-latest-agent",
7676
{
7777
method: "POST",
7878
headers: {

web/src/routes/agent/[id]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
const ref: string = $page.url.searchParams.get("github") || "";
2323
2424
const response = await fetch(
25-
"https://stage.commanddash.dev/agent/get-latest-agent",
25+
"https://api.commanddash.dev/agent/get-latest-agent",
2626
{
2727
method: "POST",
2828
headers: {

0 commit comments

Comments
 (0)