Skip to content
Browse files

added rewrite section to config for curated feed URLs

  • Loading branch information...
1 parent 411471c commit 7ce2e08cbcb8c0be3238012f232bbcb96bc8df9b @half-ogre half-ogre committed Mar 19, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 Website/Web.config
View
4 Website/Web.config
@@ -139,6 +139,10 @@
<match url="^media/default/packages/([a-z0-9_][a-z0-9._-]*)/([0-9.]+)/[\w._ -]+\.([a-z]+)$" />
<action type="Redirect" url="https://nugetgallery.blob.core.windows.net/icons/{R:1}.{R:2}.{R:3}" redirectType="Permanent" />
</rule>
+ <rule name="Curated Feed" stopProcessing="true">
+ <match url="^api/v2/curated-feeds/([^/]+)(.*)$" />
+ <action type="Rewrite" url="api/v2/curated-feed{R:2}?name={R:1}" />
+ </rule>
</rules>
</rewrite>
</system.webServer>

0 comments on commit 7ce2e08

Please sign in to comment.
Something went wrong with that request. Please try again.