fix build issue
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user