diff --git a/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js b/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js index 435a938a51..d27282d162 100644 --- a/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js +++ b/awx/ui/client/src/templates/job_templates/edit-job-template/job-template-edit.controller.js @@ -192,7 +192,7 @@ export default const newServiceValue = newValue && typeof newValue === 'object' ? newValue.value : newValue; const oldServiceValue = oldValue && typeof oldValue === 'object' ? oldValue.value : oldValue; if (newServiceValue) { - $scope.webhook_url = `${$scope.callback_server_path}${jobTemplateData.url}${newServiceValue}`; + $scope.webhook_url = `${$scope.callback_server_path}${jobTemplateData.url}${newServiceValue}/`; } else { $scope.webhook_url = ''; $scope.webhook_key = ''; diff --git a/awx/ui/client/src/templates/workflows/edit-workflow/workflow-edit.controller.js b/awx/ui/client/src/templates/workflows/edit-workflow/workflow-edit.controller.js index be92706f4d..45b7b95c52 100644 --- a/awx/ui/client/src/templates/workflows/edit-workflow/workflow-edit.controller.js +++ b/awx/ui/client/src/templates/workflows/edit-workflow/workflow-edit.controller.js @@ -200,7 +200,7 @@ export default [ const newServiceValue = newValue && typeof newValue === 'object' ? newValue.value : newValue; const oldServiceValue = oldValue && typeof oldValue === 'object' ? oldValue.value : oldValue; if (newServiceValue) { - $scope.webhook_url = `${$scope.baseURL}${workflowJobTemplateData.url}${newServiceValue}`; + $scope.webhook_url = `${$scope.baseURL}${workflowJobTemplateData.url}${newServiceValue}/`; $scope.enable_webhook = true; } else { $scope.webhook_url = '';