Skip to content

Commit c9df82f

Browse files
authored
docs: fix small typo (#11616)
1 parent cdfa21c commit c9df82f

File tree

1 file changed

+1
-1
lines changed
  • www/apps/book/app/learn/fundamentals/api-routes/middlewares

1 file changed

+1
-1
lines changed

www/apps/book/app/learn/fundamentals/api-routes/middlewares/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,4 @@ In general, avoid adding trailing backslashes when sending requests to API route
222222

223223
The Medusa application registers your middlewares first, then registers middlewares defined in Medusa's core.
224224

225-
So, if you add a middleware for a route defined in the core, it might get overridden by the core middleware. For example, if you add a middleware to change authentication of admin wrotes, the authentication middleware defined in the core will still run, leading to your middleware not being effective.
225+
So, if you add a middleware for a route defined in the core, it might get overridden by the core middleware. For example, if you add a middleware to change authentication of admin routes, the authentication middleware defined in the core will still run, leading to your middleware not being effective.

0 commit comments

Comments
 (0)