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',