From 4d9bfc8cca27f00b999cc4f8b6708196644979fd Mon Sep 17 00:00:00 2001 From: johnd0e <1838643+johnd0e@users.noreply.github.com> Date: Wed, 28 Feb 2024 00:38:15 +0100 Subject: [PATCH] Fix link in readme 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 --- readme.MD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.MD b/readme.MD index 93e3e7d..9c4e0fc 100644 --- a/readme.MD +++ b/readme.MD @@ -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`](blob/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`