Skip to content

Commit aa2c23c

Browse files
authored
Fixes #2243 - Update URL rewrite rules so that API calls only match if path starts with /api and not just contains 'api/' (#2246)
1 parent a345561 commit aa2c23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AzureFunctions/Web.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />
6565
</rule>
6666
<rule name="ignoreApiRoutes" stopProcessing="true">
67-
<match url="api/.*" negate="false" />
67+
<match url="^api/.*" negate="false" />
6868
<action type="None" />
6969
</rule>
7070
<rule name="ignoreFavicon" stopProcessing="true">

0 commit comments

Comments
 (0)