Skip to content

Commit

Permalink
Fix link in readme
Browse files Browse the repository at this point in the history
It's impossible to set wrangler config when deploying from Cloudflare
workers-playground, and without it importing "node:buffer" fails.

Fortunately, there is another branch in this repo, that does not depend
on node Buffer, so just use it in this case.

Close #1
  • Loading branch information
johnd0e committed Feb 27, 2024
1 parent 6d9241a commit 87c8d08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.MD
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ which is necessary for continuous integration (CI).
### Deploy to Cloudflare

[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/PublicAffairs/openai-gemini)
- Alternatively can be deployed manually pasting content of [`src/worker.mjs`](src/worker.mjs)
- Alternatively can be deployed manually pasting content of [`src/worker.mjs`](../resize-images/src/worker.mjs)
to https://workers.cloudflare.com/playground (see there `Deploy` button).
- Alternatively can be deployed with [cli](https://developers.cloudflare.com/workers/wrangler/):
`wrangler deploy`
Expand Down

0 comments on commit 87c8d08

Please sign in to comment.