Skip to content

Commit

Permalink
Change default fetch url to explorer.hydra.family
Browse files Browse the repository at this point in the history
To make it easy to maintain.
  • Loading branch information
ffakenz committed Mar 27, 2024
1 parent 53f3958 commit c085a5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hydra-explorer/web/src/components/TickBox/index.tsx
Expand Up @@ -9,7 +9,7 @@ const TickBox = () => {
const [error, setError] = useState<string | null>(null)

useDataFetcher<TickState>({
url: '/tick',
url: 'http://explorer.hydra.family/tick',
setFetchedData: setTick,
setError,
})
Expand Down
Expand Up @@ -21,7 +21,7 @@ export const HeadsDataProvider: React.FC<any> = ({
const [error, setError] = useState<string | null>(null)

useDataFetcher<HeadState[]>({
url: '/heads',
url: 'http://explorer.hydra.family/heads',
setFetchedData: setHeads,
setError,
})
Expand Down

0 comments on commit c085a5e

Please sign in to comment.