You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
## Cloudlfare worker for redirection.io
2
2
3
-
Look at our documentation about cloudflare integration here: [https://redirection.io/documentation/developer-documentation/cloudflare-workers-integration](https://redirection.io/documentation/developer-documentation/cloudflare-workers-integration)
3
+
Look at our documentation about our Cloudflare integration here: [https://redirection.io/documentation/developer-documentation/cloudflare-workers-integration](https://redirection.io/documentation/developer-documentation/cloudflare-workers-integration)
4
4
5
-
### Pushing to cloudflare
5
+
### Pushing to Cloudflare
6
6
7
-
You can also directly push this repository to a cloudflare worker, but you will still need a redirectionio account to do so:
7
+
You can also directly push this repository to a cloudflare worker, but you will still need a redirection.io account to do so:
8
8
9
-
1. You need to have wrangler installed: `npm install -g wrangler`
10
-
2. Login or configure your api token for cloudflare`wrangler login`
11
-
3. Copy file `wrangler.toml.dist` to `wrangler.toml` and replace needed value
12
-
4. Push your redirectionio token as a secret value `wrangler secret put REDIRECTIONIO_TOKEN`and enter you redirection io project key when asked (available in your the instance panel of your project)
13
-
5. Publish your worker: `wrangler publish`
9
+
1. You need to have wrangler 2 installed: `npm install -g wrangler`
10
+
2. Login or configure the Cloudflare API token:`wrangler login`
11
+
3. Copy the file `wrangler.toml.dist` to `wrangler.toml`, and replace the value
12
+
4. Push the redirection.io project key as a secret value:`wrangler secret put REDIRECTIONIO_TOKEN`(enter the project key when asked to do so - this key can be found on the instance panel in the manager)
Copy file name to clipboardExpand all lines: wrangler.toml.dist
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,13 @@
1
+
# see documentation at https://redirection.io/documentation/developer-documentation/cloudflare-workers-integration#manually-deploying-the-cloudflare-worker
0 commit comments