Merge branch 'main' of github.com:formbricks/formbricks into shubham/docs-add-example-link-and-quick-fixed

This commit is contained in:
Johannes
2023-08-30 16:47:18 +02:00
@@ -121,6 +121,14 @@ export default function SurveyMenuBar({
return false;
}
if (
survey.redirectUrl &&
!survey.redirectUrl.includes("https://") &&
!survey.redirectUrl.includes("http://")
) {
toast.error("Please enter a valid URL for redirecting respondents");
return false;
}
return true;
};