Skip to content

Commit ac25c68

Browse files
fix
1 parent c738b43 commit ac25c68

File tree

5 files changed

+32
-31
lines changed

5 files changed

+32
-31
lines changed

next.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export default withBundleAnalyzer({
5050
dangerouslyAllowSVG: true,
5151
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;"
5252
},
53+
5354
webpack: (config, _context) => {
5455
// Workaround for ensuring that `react` and `react-dom` resolve correctly
5556
// when using a locally-linked version of `react-notion-x`.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@
4242
"ky": "^1.7.2",
4343
"lqip-modern": "^2.1.0",
4444
"next": "^15.0.2",
45-
"notion-client": "^7.0.0",
46-
"notion-types": "^7.0.0",
47-
"notion-utils": "^7.0.0",
45+
"notion-client": "^7.0.1",
46+
"notion-types": "^7.0.1",
47+
"notion-utils": "^7.0.1",
4848
"p-map": "^7.0.2",
4949
"p-memoize": "^7.1.1",
5050
"posthog-js": "^1.20.2",
5151
"prismjs": "^1.29.0",
5252
"react": "^18.2.0",
5353
"react-body-classname": "^1.3.1",
5454
"react-dom": "^18.2.0",
55-
"react-notion-x": "^7.0.0",
55+
"react-notion-x": "^7.0.1",
5656
"react-tweet-embed": "^2.0.0",
5757
"react-use": "^17.4.2",
5858
"rss": "^1.2.2"

pages/api/social-image.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const interBoldFontP = ky(
1414
).arrayBuffer()
1515

1616
export const config = {
17-
runtime: 'experimental-edge'
17+
runtime: 'edge'
1818
}
1919

2020
export default async function OGImage(req: NextRequest) {

pnpm-lock.yaml

+25-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"esModuleInterop": true,
1111
"module": "esnext",
1212
"moduleResolution": "bundler",
13+
"moduleDetection": "force",
1314
"resolveJsonModule": true,
1415
"isolatedModules": true,
1516
"jsx": "preserve",

0 commit comments

Comments
 (0)