Skip to content

Commit

Permalink
snapshots endpoint var fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vasylcode authored Feb 28, 2024
1 parent af84e7b commit c878e6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Snapshots/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ const Snapshots: React.FC<{ tip?: string; endpoint: string }> = ({ tip, endpoint
{fileList.length > 0 && (
<CodeBlock language="bash" showLineNumbers>
{selectedSnapshot
? `wget https://aleo-snapshots.f5nodes.com/${selectedSnapshot.filename}`
: `wget https://aleo-snapshots.f5nodes.com/${fileList[fileList.length - 1].filename}`}
? `wget ${endpoint}${selectedSnapshot.filename}`
: `wget ${endpoint}${fileList[fileList.length - 1].filename}`}
</CodeBlock>
)}
</div>
Expand Down

0 comments on commit c878e6e

Please sign in to comment.