Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Per-Path Middleware for actions/operations - Wasp
W
Wasp
•
12mo ago
•
5 replies
Noah
Per-Path Middleware for actions/operations
I
'd like to configure middleware for a set of actions
+ ops re these docs
https://wasp.sh/docs/advanced/middleware-config#3-customize-per-path-middleware
But it looks like a simple URL prefix check which seems to only apply on
api
api
s in wasp
, not ops or actions
.
Configuring Middleware | Wasp
Wasp comes with a minimal set of useful Express middleware in every application
. While this is good for most users
, we realize some may wish to add
, modify
, or remove some of these choices both globally
, or on a per
-api
/path basis
.
Wasp
Join
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.
4,650
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
how to add middleware for actions and querys
W
Wasp / 🙋questions
2y ago
Approach for long running backend operations
W
Wasp / 🙋questions
4mo ago
Best practices for splitting queries and operations
W
Wasp / 🙋questions
2y ago
Problems with operations
W
Wasp / 🙋questions
17mo ago