From 85afbe87e8392403b5f3bf92e41d1b7e25774b5e Mon Sep 17 00:00:00 2001 From: Erisa A Date: Fri, 19 Mar 2021 04:40:28 +0000 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ad35fd..7238e4c 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ It was made for my personal use but is available publicly in the hopes that it m ## Usage -To deploy to your Cloudflare Workers account, edit the relevant entries in `wrangler.toml`, add a secret with `wrangler put WORKERLINKS_SECRET` and use `wrangler publish`. +To deploy to your Cloudflare Workers account, edit the relevant entries in `wrangler.toml`, add a secret with `wrangler secret put WORKERLINKS_SECRET` and use `wrangler publish`. For debugging, you can use `wrangler preview`, though note you will need to login and configure a preview KV namespace in `wrangler.toml`. Once deployed, interacting with the API should be rather simple. It's based on headers, specifically with the `Authorization` and `URL` headers.