OpenAI proxy on Cloudflare Pages
This is a Next.js project bootstrapped with c3
.
-
Click Use this template to create your own repo
-
Login to Cloudflare
-
Select
Workers & Pages
>Create Application
>Pages
>Connect to Git
-
Select the repo you just created.
-
In Build settings, the framework preset select
Next.js
. Other configurations use default options
npm run pages:deploy
# or
yarn pages:deploy
# or
pnpm pages:deploy
# or
bun pages:deploy