Skip to content

Commit

Permalink
use actual sdk urls (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
rokostik authored Jun 13, 2024
1 parent eaac9d3 commit 9ec7315
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/form/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
Expand Down

0 comments on commit 9ec7315

Please sign in to comment.