Skip to content

Commit

Permalink
chore(examples): fix typos (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
iiio2 authored Oct 7, 2024
1 parent 233755e commit ad320ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/proxy.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Agent } from "undici";
import { ofetch } from "ofetch";

// Note: This make fetch unsecure to MITM attacks. USE AT YOUW OWN RISK!
// Note: This makes fetch unsecure to MITM attacks. USE AT YOUR OWN RISK!
const unsecureAgent = new Agent({ connect: { rejectUnauthorized: false } });
const unsecureFetch = ofetch.create({ dispatcher: unsecureAgent });
const data = await unsecureFetch("https://www.squid-cache.org/");
Expand Down

0 comments on commit ad320ae

Please sign in to comment.