fix build issue

This commit is contained in:
tparnell
2019-11-12 05:55:58 -05:00
parent 91024461aa
commit dc925d60b7

View File

@@ -31,7 +31,7 @@ namespace TerribleDev
["react-sample"] = "https://github.com/terribledev/react-samples",
["things-to-know"] = "https://github.com/TerribleDev/Things-to-know",
["code101"] = "https://github.com/NashuaCodes/Decks",
["webpack/timereport"] = "https://gist.github.com/TerribleDev/8677821c3e174659250df1f6bba9d7c3"
["webpack/timereport"] = "https://gist.github.com/TerribleDev/8677821c3e174659250df1f6bba9d7c3",
["web/perflist"] = "https://github.com/TerribleDev/WebPerformanceChecklist"
};
@@ -60,7 +60,7 @@ namespace TerribleDev
Public = true,
MaxAge = TimeSpan.FromDays(1)
};
if (!RoutesDictionary.TryGetValue(name.ToLower(), out string result))
if (!RoutesDictionary.TryGetValue(name.ToLowerInvariant(), out string result))
{
return new NotFoundObjectResult("hello");
}