From ddfda63e8dd179eb7470a51ece1fcd0115d9045b Mon Sep 17 00:00:00 2001 From: yash1120 <86657372+yash1120@users.noreply.github.com> Date: Thu, 10 Feb 2022 19:54:02 +0530 Subject: [PATCH] Update form-validation.md changes netlify.com to netlify.app --- src/v2/cookbook/form-validation.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2/cookbook/form-validation.md b/src/v2/cookbook/form-validation.md index e8417fd036..32b33f6fcd 100644 --- a/src/v2/cookbook/form-validation.md +++ b/src/v2/cookbook/form-validation.md @@ -333,7 +333,7 @@ We set up the total value as a computed value, and outside of that bug I ran int ## Server-side Validation -In my final example, we built something that makes use of Ajax to validate at the server. The form will ask you to name a new product and will then check to ensure that the name is unique. We wrote a quick [Netlify](https://netlify.com/) serverless action to do the validation. While it isn't terribly important, here is the logic: +In my final example, we built something that makes use of Ajax to validate at the server. The form will ask you to name a new product and will then check to ensure that the name is unique. We wrote a quick [Netlify](https://netlify.app/) serverless action to do the validation. While it isn't terribly important, here is the logic: ``` js exports.handler = async (event, context) => { @@ -395,7 +395,7 @@ Basically any name but "vista", "empire", and "mbp" are acceptable. Ok, so let's There isn't anything special here. So let's go on to the JavaScript. ``` js -const apiUrl = 'https://vuecookbook.netlify.com/.netlify/functions/product-name?name='; +const apiUrl = 'https://vuecookbook.netlify.app/.netlify/functions/product-name?name='; const app = new Vue({ el: '#app',