Skip to content

Commit 306b489

Browse files
committed
fix: self host url
1 parent ae4699e commit 306b489

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

fast-api-react/frontend/src/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
.App {
99
width: 100%;
1010
max-width: 390px;
11-
height: 100vh;
11+
height: 60vh;
1212
display: flex;
1313
flex-direction: column;
1414
}

fast-api-react/frontend/src/App.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "./App.css";
44
interface Messages {
55
role: "user" | "assistant";
66
content: string;
7-
hatchetRunId?: string;
7+
messageId?: string;
88
}
99

1010
const API_URL = "http://localhost:8000";
@@ -93,14 +93,14 @@ function App() {
9393
return (
9494
<div className="App">
9595
<div className="Messages">
96-
{messages.map(({ role, content, hatchetRunId }, i) => (
96+
{messages.map(({ role, content, messageId }, i) => (
9797
<p key={i}>
9898
<b>{role === "assistant" ? "Agent" : "You"}</b>: {content}
99-
{hatchetRunId && (
99+
{messageId && (
100100
<a
101101
target="_blank"
102102
rel="noreferrer"
103-
href={`https://app.dev.hatchet-tools.com/workflow-runs/${hatchetRunId}?tenant=707d0855-80ab-4e1f-a156-f1c4546cbf52`}
103+
href={`http://localhost:8080/workflow-runs/${messageId}?tenant=707d0855-80ab-4e1f-a156-f1c4546cbf52`}
104104
>
105105
🪓
106106
</a>
@@ -112,7 +112,7 @@ function App() {
112112
<a
113113
target="_blank"
114114
rel="noreferrer"
115-
href={`https://app.dev.hatchet-tools.com/workflow-runs/${openRequest}?tenant=707d0855-80ab-4e1f-a156-f1c4546cbf52`}
115+
href={`http://localhost:8080/workflow-runs/${openRequest}?tenant=707d0855-80ab-4e1f-a156-f1c4546cbf52`}
116116
>
117117
{status}
118118
</a>

0 commit comments

Comments
 (0)