Skip to content

Commit cd33ca9

Browse files
committed
Add runtime=edge back
1 parent eeabaaa commit cd33ca9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/works/[id]/page.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
import {EditorPage} from "../../EditorPage.jsx";
33
import {useParams} from "next/navigation";
44

5+
export const runtime = "edge";
6+
57
export default function Page() {
68
const {id} = useParams();
79
return <EditorPage id={id} />;

next.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
3-
basePath: '/notebook',
4-
assetPrefix: '/notebook',
3+
// basePath: '/notebook',
4+
// assetPrefix: '/notebook',
55
};
66

77
export default nextConfig;

0 commit comments

Comments
 (0)