Skip to content

Commit

Permalink
Add additional symbol route for Visual Studio 2017 (#251)
Browse files Browse the repository at this point in the history
Addresses #224
  • Loading branch information
fuzzybair authored and loic-sharma committed Apr 13, 2019
1 parent 55ce835 commit 18751e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/BaGet.Core.Server/Extensions/IRouteBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ public static IRouteBuilder MapSymbolRoutes(this IRouteBuilder routes)
name: Routes.SymbolDownloadRouteName,
template: "api/download/symbols/{file}/{key}/{file2}",
defaults: new { controller = "Symbol", action = "Get" });

routes.MapRoute(
name: Routes.SymbolDownloadRouteName,
template: "api/download/symbols/{prefix}/{file}/{key}/{file2}",
defaults: new { controller = "Symbol", action = "Get" });

return routes;
}
Expand Down

0 comments on commit 18751e5

Please sign in to comment.