Fix baseUrl

This commit is contained in:
2022-02-19 17:34:16 -05:00
parent 88b93868e4
commit 23e8bcec59
2 changed files with 4 additions and 4 deletions

View File

@@ -19,11 +19,11 @@
$url = CognitoAPI::$formsBase;
if ($_GET['page'] == 'CognitoCreateForm') {
$url = $url . 'forms/new';
$url = $url . '/forms/new';
} elseif ($_GET['page'] == "CognitoTemplates") {
$url = $url . 'templates';
$url = $url . '/templates';
} else {
$url = $url . 'forms';
$url = $url . '/forms';
}
?>