Store Cognito base url solely in api.php

This commit is contained in:
michael committed 2022-02-18 13:48:59 -05:00
1 parent 6a5c99e483
commit 78d3acb74c
4 files changed
+17 -3

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
$url = 'https://www.cognitoforms.com/';
$url = CognitoAPI::$formsBase;
if ($_GET['page'] == 'CognitoCreateForm') {
$url = $url . 'forms/new';