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.
2 parents 6de402f + 8d468f1 commit 5a819f4Copy full SHA for 5a819f4
1 file changed
aikido_zen/helpers/match_endpoints.py
@@ -45,7 +45,7 @@ def match_endpoints(route_metadata, endpoints):
45
46
for wildcard in wildcards:
47
route = wildcard["route"]
48
- regex = re.compile(f"^{route.replace('*', '(.*)')}\/?$", re.IGNORECASE)
+ regex = re.compile(f"^{route.replace('*', '(.*)')}/?$", re.IGNORECASE)
49
50
if regex.match(path):
51
results.append(wildcard)
0 commit comments