Skip to content

Commit

Permalink
fix: small fix in safe tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisht13 committed May 22, 2024
1 parent dc2dac3 commit 03e3cd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/safe_tracker/.env.example
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
ALCHEMY_API_KEY=
ALCHEMY_API_KEY=
RELAYER_URL=
4 changes: 2 additions & 2 deletions packages/safe_tracker/safe_tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const sendSafeRequest = async (walletAddress: string, safeAddress: string, opera
};

try {
const response = await fetch(`http://bore.pub:40078/api/${operation}SafeOwner`, {
const response = await fetch(`${process.env.RELAYER_URL}/api/${operation}SafeOwner`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Expand Down Expand Up @@ -147,7 +147,7 @@ const main = async () => {
});

app.listen(port, () => {
console.log(`Server listening at http://localhost:${port}`);
console.log(`Server listening at http://0.0.0.0:${port}`);
});
};

Expand Down

0 comments on commit 03e3cd4

Please sign in to comment.