Fixed url pattern in the doc for path-based shops
This commit is contained in:
@@ -207,7 +207,7 @@ Middleware for request/response logging and performance monitoring.
|
||||
Middleware function that rewrites request paths for path-based vendor routing.
|
||||
|
||||
**Purpose:**
|
||||
Allows `/vendor/VENDORCODE/shop/products` to be internally routed as `/shop/products` for proper FastAPI route matching.
|
||||
Allows `/vendors/VENDORCODE/shop/products` (path-based development mode) to be internally routed as `/shop/products` for proper FastAPI route matching.
|
||||
|
||||
**Execution Order:**
|
||||
Must run AFTER VendorContextMiddleware and BEFORE ContextDetectionMiddleware.
|
||||
|
||||
Reference in New Issue
Block a user