Skip to content

Commit

Permalink
lang
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Nov 27, 2023
1 parent 2e87474 commit 4c34d4a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion uk/guide/writing-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ When you make a request to the root of the app, the app now displays the timesta

Because you have access to the request object, the response object, the next middleware function in the stack, and the whole Node.js API, the possibilities with middleware functions are endless.

For more information about Express middleware, see: [Using Express middleware](/guide/using-middleware.html).
For more information about Express middleware, see: [Using Express middleware]/{{page.lang}}/using-middleware.html).
2 changes: 1 addition & 1 deletion uz/guide/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ app.get(/.*fly$/, function(req, res) {

<h2 id="route-handlers">Route handlers</h2>

You can provide multiple callback functions that behave just like [middleware](/guide/using-middleware.html) to handle a request. The only exception is that these callbacks may invoke `next('route')` to bypass the remaining route callback(s). You can use this mechanism to impose pre-conditions on a route, then pass control to subsequent routes if there's no reason to proceed with the current route.
You can provide multiple callback functions that behave just like [middleware](/{{page.lang}}/guide/using-middleware.html) to handle a request. The only exception is that these callbacks may invoke `next('route')` to bypass the remaining route callback(s). You can use this mechanism to impose pre-conditions on a route, then pass control to subsequent routes if there's no reason to proceed with the current route.

Route handlers can come in the form of a function, an array of functions, or various combinations of both, as shown the following examples.

Expand Down
2 changes: 1 addition & 1 deletion uz/starter/basic-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ app.delete('/user', function (req, res) {
})
</code></pre>

Marshrutizatsiya haqida to'liq ma'lumot olish uchun, ma'lumotnoma orqali [Marshrutizatsiya](/guide/routing.html) bo'limini o'qib chiqing.
Marshrutizatsiya haqida to'liq ma'lumot olish uchun, ma'lumotnoma orqali [Marshrutizatsiya](/{{page.lang}}/guide/routing.html) bo'limini o'qib chiqing.
2 changes: 1 addition & 1 deletion uz/starter/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ app.use(function(err, req, res, next){
});
</code></pre>

Batafsil ma'lumot uchun [Xatolarni qayta ishlash](/guide/error-handling.html) o'qing.
Batafsil ma'lumot uchun [Xatolarni qayta ishlash](/{{page.lang}}/guide/error-handling.html) o'qing.

## Qanday qilib plain HTMLni render qilishim mumkin?

Expand Down

0 comments on commit 4c34d4a

Please sign in to comment.