Skip to content

Commit 1d9673b

Browse files
authored
Merge pull request #46 from CleanTalk/dev
Upd. BotDetecor. Changing the link to get ct-bot-detector-wrapper.js
2 parents 07c39e6 + 7b21035 commit 1d9673b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ $api_result = $cleantalk_antispam->handle();
5252
### Step 2.1 - add js lib to your html template
5353
_Need for gathering frontend data._
5454
```html
55-
<script src="https://moderate.cleantalk.org/ct-bot-detector-wrapper.js" defer></script>
55+
<script src="https://fd.cleantalk.org/ct-bot-detector-wrapper.js" defer></script>
5656
```
5757
and do not forget to add additional parameter to the request
5858
```php linenums="3"

examples/form_with_handler/form_with_handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
</style>
6363

6464
<!-- CLEANTALK ANTISPAM -->
65-
<script src="https://moderate.cleantalk.org/ct-bot-detector-wrapper.js"></script>
65+
<script src="https://fd.cleantalk.org/ct-bot-detector-wrapper.js"></script>
6666
<!-- END OF CLEANTALK ANTISPAM -->
6767
</head>
6868
<body>

lib/CleantalkAntispam.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class CleantalkAntispam
1111
{
1212
const MODERATE_URL = 'https://moderate.cleantalk.org/api2.0';
13-
const BOT_DETECTOR_LIBRARY_URL = 'https://moderate.cleantalk.org/ct-bot-detector-wrapper.js';
13+
const BOT_DETECTOR_LIBRARY_URL = 'https://fd.cleantalk.org/ct-bot-detector-wrapper.js';
1414
const EVENT_TOKEN_FIELD_NAME = 'ct_bot_detector_event_token';
1515
const EMAIL_ADDRESS_REGEXP = '/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/';
1616

0 commit comments

Comments
 (0)