diff --git a/misc/admin/src.ts/npm.ts b/misc/admin/src.ts/npm.ts index 83f0a40a4..75c448fbe 100644 --- a/misc/admin/src.ts/npm.ts +++ b/misc/admin/src.ts/npm.ts @@ -15,7 +15,7 @@ async function getPackageInfo(name: string): Promise { if (!cache[name]) { try { - const result = await getUrl("http:/" + "/registry.npmjs.org/" + name); + const result = await getUrl("https:/\/registry.npmjs.org/" + name); cache[name] = JSON.parse(Buffer.from(result.body).toString("utf8")); } catch (error) { if (error.status === 404) { return null; }