Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Nov 1, 2024
1 parent c738b43 commit ac25c68
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 31 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export default withBundleAnalyzer({
dangerouslyAllowSVG: true,
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;"
},

webpack: (config, _context) => {
// Workaround for ensuring that `react` and `react-dom` resolve correctly
// when using a locally-linked version of `react-notion-x`.
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,17 @@
"ky": "^1.7.2",
"lqip-modern": "^2.1.0",
"next": "^15.0.2",
"notion-client": "^7.0.0",
"notion-types": "^7.0.0",
"notion-utils": "^7.0.0",
"notion-client": "^7.0.1",
"notion-types": "^7.0.1",
"notion-utils": "^7.0.1",
"p-map": "^7.0.2",
"p-memoize": "^7.1.1",
"posthog-js": "^1.20.2",
"prismjs": "^1.29.0",
"react": "^18.2.0",
"react-body-classname": "^1.3.1",
"react-dom": "^18.2.0",
"react-notion-x": "^7.0.0",
"react-notion-x": "^7.0.1",
"react-tweet-embed": "^2.0.0",
"react-use": "^17.4.2",
"rss": "^1.2.2"
Expand Down
2 changes: 1 addition & 1 deletion pages/api/social-image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const interBoldFontP = ky(
).arrayBuffer()

export const config = {
runtime: 'experimental-edge'
runtime: 'edge'
}

export default async function OGImage(req: NextRequest) {
Expand Down
51 changes: 25 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"moduleDetection": "force",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down

0 comments on commit ac25c68

Please sign in to comment.