This is a Next.js project bootstrapped with create-next-app.
First, clone the repository:
git clone https://github.com/WarFiN123/webhook-multitool && cd webhook-multitoolThen, install all dependencies:
bun installRunning the development server (if you are editing the source code and want to see the changes real-time)
bun run devBuilding:
bun run buildRunning:
bun run startGo to Workers & Pages > Create application > Pages and connect your Git repository (you may also paste in the link to this repository).
Select Next.js as the framework preset. Ensure these values are set:
-
Build command:
bunx @cloudflare/next-on-pages@1
-
Build output directory:
.vercel/output/static
Under Environment variables (advanced), add:
| Variable Name | Value |
|---|---|
| NODE_VERSION | 20 |
Deploy
After the first deployment starts/fails:
-
Go to Settings > Runtime.
-
In Compatibility flags, add:
nodejs_compat
-
Go to Deployments and click Retry deployment.