mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix requestRoutePath fallback
This commit is contained in:
@@ -128,7 +128,7 @@ return function (Container $container): void {
|
||||
$method = $method === Http::REQUEST_METHOD_HEAD ? Http::REQUEST_METHOD_GET : $method;
|
||||
$route = Router::match($method, $url);
|
||||
|
||||
return $route?->getPath() ?? $request->getURI();
|
||||
return $route?->getPath() ?? $url;
|
||||
}, ['request']);
|
||||
|
||||
// Per-request queue resources (stateful, accumulate event data during request)
|
||||
|
||||
Reference in New Issue
Block a user