mirror of
https://github.com/sequentialread/pow-captcha.git
synced 2025-10-14 00:59:24 +00:00
explain data-sqr-captcha-url flexibility
This commit is contained in:
parent
4ca76f2610
commit
33f3e8ab18
@ -177,6 +177,10 @@ with all 3 of the following properties:
|
||||
|
||||
This is the base url from which `captcha.js` will attempt to load additional resources `captcha.css` and `proofOfWorker.js`.
|
||||
|
||||
> 💬 *INFO* In our examples, we passed the captcha server URL down to the HTML page and used it as the value for this property.
|
||||
However, that's not required. The HTML page doesn't need to talk to the captcha server at all, it just needs to know where it can
|
||||
download the stylesheet css file and webworker javascript files. There is nothing stopping you from simply hosting those files on your own server or CDN and placing the corresponding URL into the `data-sqr-captcha-url` property.
|
||||
|
||||
#### `data-sqr-captcha-challenge`
|
||||
|
||||
This is one of the challenge strings returned by `GetChallenges`. It must be unique, each challenge can only be used once.
|
||||
|
Loading…
x
Reference in New Issue
Block a user