Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ $api_result = $cleantalk_antispam->handle();
### Step 2.1 - add js lib to your html template
_Need for gathering frontend data._
```html
<script src="https://moderate.cleantalk.org/ct-bot-detector-wrapper.js" defer></script>
<script src="https://fd.cleantalk.org/ct-bot-detector-wrapper.js" defer></script>
```
and do not forget to add additional parameter to the request
```php linenums="3"
Expand Down
2 changes: 1 addition & 1 deletion examples/form_with_handler/form_with_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</style>

<!-- CLEANTALK ANTISPAM -->
<script src="https://moderate.cleantalk.org/ct-bot-detector-wrapper.js"></script>
<script src="https://fd.cleantalk.org/ct-bot-detector-wrapper.js"></script>
<!-- END OF CLEANTALK ANTISPAM -->
</head>
<body>
Expand Down
2 changes: 1 addition & 1 deletion lib/CleantalkAntispam.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class CleantalkAntispam
{
const MODERATE_URL = 'https://moderate.cleantalk.org/api2.0';
const BOT_DETECTOR_LIBRARY_URL = 'https://moderate.cleantalk.org/ct-bot-detector-wrapper.js';
const BOT_DETECTOR_LIBRARY_URL = 'https://fd.cleantalk.org/ct-bot-detector-wrapper.js';
const EVENT_TOKEN_FIELD_NAME = 'ct_bot_detector_event_token';
const EMAIL_ADDRESS_REGEXP = '/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/';

Expand Down
Loading