diff --git a/packages/create-next-app/helpers/examples.ts b/packages/create-next-app/helpers/examples.ts index fd3db90226fd33..92292a088fb966 100644 --- a/packages/create-next-app/helpers/examples.ts +++ b/packages/create-next-app/helpers/examples.ts @@ -14,7 +14,7 @@ export type RepoInfo = { } export async function isUrlOk(url: string): Promise { - const res = await got(url).catch((e) => e) + const res = await got.head(url).catch((e) => e) return res.statusCode === 200 }