docs: add new troubleshooting guides for Query and middlewares (#12214)
This commit is contained in:
1 parent
191965bbfe
commit
9d27c0c194
10 files changed
+12961
-12817
No files matched your search
@@ -0,0 +1,5 @@
|
||||
A common mistake when creating middlewares is naming the file `middleware.ts` rather than `middlewares.ts`.
|
||||
|
||||
If your middleware isn't registered correctly, make sure you've created the middleware file at `src/api/middlewares.ts`.
|
||||
|
||||
Learn more in the [Middleware](!docs!/learn/fundamentals/api-routes/middlewares) documentation.
|
||||
Reference in new issue
Block a user