Fix issue with url normalize function that caused "Missing content" flash on root page.

This commit is contained in:
Dillon Kearns 2020-02-02 14:23:41 -08:00
parent fbdcc5ae74
commit a8f114c0eb

View File

@ -205,6 +205,10 @@ normalizePath pathString =
hasSuffix =
String.endsWith "/" pathString
in
if pathString == "" then
"/"
else
String.concat
[ if hasPrefix then
""