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