Skip to content

Commit ddfda63

Browse files
authored
Update form-validation.md
changes netlify.com to netlify.app
1 parent 2414b24 commit ddfda63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/v2/cookbook/form-validation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ We set up the total value as a computed value, and outside of that bug I ran int
333333

334334
## Server-side Validation
335335

336-
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:
336+
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:
337337

338338
``` js
339339
exports.handler = async (event, context) => {
@@ -395,7 +395,7 @@ Basically any name but "vista", "empire", and "mbp" are acceptable. Ok, so let's
395395
There isn't anything special here. So let's go on to the JavaScript.
396396

397397
``` js
398-
const apiUrl = 'https://vuecookbook.netlify.com/.netlify/functions/product-name?name=';
398+
const apiUrl = 'https://vuecookbook.netlify.app/.netlify/functions/product-name?name=';
399399

400400
const app = new Vue({
401401
el: '#app',

0 commit comments

Comments
 (0)