-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,8 @@ | |
$siteverifyEndpoint = getenv('FRC_SITEVERIFY_ENDPOINT'); | ||
$widgetEndpoint = getenv('FRC_WIDGET_ENDPOINT'); | ||
|
||
// TODO: to be replaced with the actual SDK URL once it's published. | ||
const MODULE_SCRIPT_URL = "https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected]/TODO.js"; | ||
const NOMODULE_SCRIPT_URL = "https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected]/TODO.js";; // Compatibility fallback for old browsers. | ||
const MODULE_SCRIPT_URL = "https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected]/site.min.js"; | ||
const NOMODULE_SCRIPT_URL = "https://cdn.jsdelivr.net/npm/@friendlycaptcha/[email protected]/site.compat.min.js";; // Compatibility fallback for old browsers. | ||
|
||
if (empty($sitekey) || empty($apikey)) { | ||
die("Please set the FRC_SITEKEY and FRC_APIKEY environment values before running this example."); | ||
|