From b92b2a6118903215d63c42e911a7a2c5626d250e Mon Sep 17 00:00:00 2001 From: Kevin Wu Date: Thu, 5 Dec 2024 00:35:00 -0800 Subject: [PATCH] fix: remove ssl nonsense --- package.json | 1 - src/app/layout.tsx | 8 -------- 2 files changed, 9 deletions(-) diff --git a/package.json b/package.json index aab2519..385b51d 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ "react-day-picker": "^8.10.0", "react-dom": "^18.2.0", "react-lazy-load": "^4.0.1", - "ssl-root-cas": "^1.3.1", "tailwind-merge": "^2.5.5", "tailwindcss-animate": "^1.0.7" }, diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c3feed5..2292f42 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -9,8 +9,6 @@ import GoogleAnalytics from "@/components/GoogleAnalytics"; import { Header } from "@/components/header"; import { ScrollToTop } from "@/components/scroll-to-top"; import { Toaster } from "@/components/ui/toaster"; -// @ts-expect-error types are not provided by this library -import sslRootCAs from "ssl-root-cas"; const inter = Inter({ subsets: ["latin"], fallback: ["sans-serif"] }); @@ -42,12 +40,6 @@ export default function RootLayout({ }: { children: React.ReactNode; }) { - /** - * Adds additional (missing) certificates to Node - * {@link https://stackoverflow.com/a/22263280} - */ - sslRootCAs.inject(); - return (