diff --git a/src/Module/Pinned.php b/src/Module/Pinned.php new file mode 100644 index 000000000..e4c0d2b0e --- /dev/null +++ b/src/Module/Pinned.php @@ -0,0 +1,40 @@ +internalRedirect($returnPath . $rand); + } + + // the json doesn't really matter, it will either be 0 or 1 + echo json_encode((int)$pinned); + exit(); + } +}