From 91f2da97276f35c1ba1248a59c78645cf5b7487d Mon Sep 17 00:00:00 2001 From: Runyasak Chaengnaimuang Date: Tue, 26 Dec 2023 00:39:31 +0700 Subject: [PATCH] fix: update links in docs --- docs/blog/elysia-05.md | 4 ++-- docs/essential/route.md | 2 +- docs/life-cycle/trace.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/blog/elysia-05.md b/docs/blog/elysia-05.md index 0688717d..d8331ca7 100644 --- a/docs/blog/elysia-05.md +++ b/docs/blog/elysia-05.md @@ -177,7 +177,7 @@ type ContentType = | | 'application/x-www-form-urlencoded' ``` -You can find more detail at the [explicit body](/concept/explicit-body) page in concept. +You can find more detail at the [explicit body](/life-cycle/parse.html#explicit-body) page in concept. ### Numeric Type We found that one of the redundant task our developers found using Elysia is to parse numeric string. @@ -224,7 +224,7 @@ You can use numeric type on any property that support schema typing, including: We hope that you will find this new Numeric type useful in your server. -You can find more detail at [numeric type](/concept/numeric) page in concept. +You can find more detail at [numeric type](/validation/elysia-type.html#numeric) page in concept. With TypeBox 0.28, we are making Elysia type system we more complete, and we excited to see how it play out on your end. diff --git a/docs/essential/route.md b/docs/essential/route.md index 8024c7f6..852ac7ef 100644 --- a/docs/essential/route.md +++ b/docs/essential/route.md @@ -188,4 +188,4 @@ When navigating to your web server, you should see the result as the following: | / | POST | Route not found :\( | | /hi | GET | Route not found :\( | -You can learn more about lifecycle and error handling in [Lifecycle Event](/essential/lifecycle-event) and [error handling](/concept/error-handling) +You can learn more about lifecycle and error handling in [Lifecycle Event](/essential/life-cycle) and [error handling](/life-cycle/on-error) diff --git a/docs/life-cycle/trace.md b/docs/life-cycle/trace.md index 8de71a16..cd620680 100644 --- a/docs/life-cycle/trace.md +++ b/docs/life-cycle/trace.md @@ -53,7 +53,7 @@ You can trace lifecycle of the following: - **error** - handle error thrown during processing request - **response** - send a Response back to the client -Please refers to [lifecycle event](/concept/life-cycle) for more information: +Please refers to [lifecycle event](/essential/life-cycle) for more information: ![Elysia Life Cycle](/assets/lifecycle.webp) ## Children