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: docs/getting-started/install.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,10 +21,12 @@ Add the following to your website's HTML:
21
21
```
22
22
23
23
::::tip
24
-
#### Using the scripts without a CDN
24
+
#### Using the scripts without a CDN (i.e. self-hosting)
25
25
26
-
You can [download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.31/) and serve them from your own server.
26
+
Using `cdn.jsdelivr.net` is optional. If preferred, you can self-host the scripts. [Download the latest release files](https://cdn.jsdelivr.net/npm/@friendlycaptcha/sdk@0.1.31/) and serve them from your own server.
27
27
Remember to update these scripts regularly.
28
+
29
+
`cdn.jsdelivr.net` is blocked in some jurisdictions, like some parts of China. If your website needs to be reachable from these jurisdictions, we recommend that you self-host the scripts.
Copy file name to clipboardExpand all lines: versioned_docs/version-v1/getting-started/install.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,13 +22,14 @@ It is recommended that you include the `async` and `defer` attributes like in th
22
22
23
23
> If you want to support old browsers, you can instead use a polyfill build, see the [**browser support**](../guides/browser-support#polyfills) page.
24
24
25
-
#### Download and self-host the widget library (releases, recommended by GDPR)
25
+
#### Download and self-host the widget library (recommended for GDPR)
26
26
27
-
Instead of using a CDN (e.g. for GDPR reasons) you can of course also download the library .js files and host them on your server.
28
-
Simply download the latest release from one of the CDN's mentioned above, like: https://cdn.jsdelivr.net/npm/friendly-challenge/
27
+
Using `cdn.jsdelivr.net` is optional. If preferred (e.g. for GDPR reasons), you can self-host the scripts. [Download the latest release files](https://cdn.jsdelivr.net/npm/friendly-challenge/) and serve them from your own server:
29
28
30
-
- The module widget.module.min.js: https://cdn.jsdelivr.net/npm/friendly-challenge/widget.module.min.js
31
-
- The nomodule widget.min.js: https://cdn.jsdelivr.net/npm/friendly-challenge/widget.min.js
29
+
- The module `widget.module.min.js`: https://cdn.jsdelivr.net/npm/friendly-challenge/widget.module.min.js
30
+
- The nomodule `widget.min.js`: https://cdn.jsdelivr.net/npm/friendly-challenge/widget.min.js
31
+
32
+
`cdn.jsdelivr.net` is blocked in some jurisdictions, like some parts of China. If your website needs to be reachable from these jurisdictions, we recommend that you self-host the scripts.
32
33
33
34
**Please remember to update to the latest release from time to time.**
0 commit comments