Skip to content

Commit

Permalink
fix: remove ssl nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinWu098 committed Dec 5, 2024
1 parent c42e97f commit b92b2a6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
8 changes: 0 additions & 8 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"] });

Expand Down Expand Up @@ -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 (
<html lang="en">
<body className={inter.className}>
Expand Down

0 comments on commit b92b2a6

Please sign in to comment.