Skip to content

Commit

Permalink
Use a more realistic example
Browse files Browse the repository at this point in the history
  • Loading branch information
cvalarida committed Jan 16, 2025
1 parent 8863f10 commit 92d632d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/proxy-fetcher/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import { SocksProxyAgent } from 'socks-proxy-agent'
*
* Example Usage:
* ```ts
* const fetcher = getFetcher('https://example.com', true);
* const response = await fetcher('/api/resource', { method: 'GET' });
* const fetcher = getFetcher('https://va-gov-cms.ddev.site', true);
* const response = await fetcher('https://example.com/flags_list', { method: 'GET' });
* const data = await response.json();
* ```
*/
Expand Down

0 comments on commit 92d632d

Please sign in to comment.