We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c405e74 commit 0a7ee60Copy full SHA for 0a7ee60
packages/supabase_functions/lib/supabase_functions_shelf.dart
@@ -37,6 +37,9 @@ class SupabaseFunctionsShelf {
37
// Remove the first path segment, because it starts with `dart_edge/<actual-sub-path>`.
38
var uri = Uri.parse(clone.url);
39
uri = uri.replace(pathSegments: uri.pathSegments.skip(1));
40
+ if (uri.path.isEmpty) {
41
+ uri = uri.replace(path: "/");
42
+ }
43
44
final shelfRequest = shelf.Request(
45
clone.method,
0 commit comments