Skip to content

Commit d3e07d4

Browse files
fix errors
1 parent e34dd83 commit d3e07d4

File tree

9 files changed

+201
-420
lines changed

9 files changed

+201
-420
lines changed

URL_PREVIEW_CARD_README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Try these example URLs:
245245
246246
## Dependencies
247247
248-
- `cheerio`: HTML parsing library (server-side jQuery)
248+
- `node-html-parser`: Lightweight HTML parsing library for Node.js
249249
- `@vercel/og`: OG image generation library
250250
251251
## Browser Support

next.config.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ const nextConfig = {
4343

4444
images: {
4545
domains: [],
46-
remotePatterns: [],
46+
remotePatterns: [
47+
{
48+
protocol: 'https',
49+
hostname: '**',
50+
},
51+
],
52+
unoptimized: false,
4753
},
4854
};
4955

package-lock.json

Lines changed: 20 additions & 270 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
"ace-builds": "^1.33.1",
4141
"ai": "^5.0.93",
4242
"axios": "^1.4.0",
43-
"cheerio": "^1.1.2",
4443
"class-variance-authority": "^0.7.0",
4544
"clsx": "^1.2.1",
4645
"complexity-report": "^2.0.0-alpha",
@@ -63,6 +62,7 @@
6362
"next-react-svg": "^1.1.3",
6463
"next-seo": "^5.5.0",
6564
"next-sitemap": "^3.1.55",
65+
"node-html-parser": "^7.0.1",
6666
"plato": "^1.7.0",
6767
"react": "^18.3.1",
6868
"react-ace": "^11.0.1",

0 commit comments

Comments
 (0)