Skip to content

Commit 42df21a

Browse files
committed
Deploy with vercel
1 parent cd33ca9 commit 42df21a

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

app/works/[id]/page.jsx

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

5-
export const runtime = "edge";
6-
75
export default function Page() {
86
const {id} = useParams();
97
return <EditorPage id={id} />;

next.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +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;
8-

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
{
22
"type": "module",
33
"scripts": {
4-
"vercel-build": "next build",
54
"dev": "vite",
65
"app:dev": "next dev",
76
"app:build": "next build",
8-
"app:build-cloudflare": "npx @cloudflare/next-on-pages",
97
"app:start": "next start",
108
"test": "npm run test:lint && npm run test:format && npm run test:js",
119
"test:js": "TZ=America/New_York vitest",
1210
"test:format": "prettier --check editor runtime test app",
1311
"test:lint": "eslint"
1412
},
1513
"devDependencies": {
16-
"@cloudflare/next-on-pages": "^1.13.16",
1714
"@tailwindcss/postcss": "^4.1.13",
1815
"clsx": "^2.1.1",
1916
"eslint": "^9.36.0",

0 commit comments

Comments
 (0)