diff --git a/src/app/Common.cpp b/src/app/Common.cpp index 816dce6..ef22fe2 100644 --- a/src/app/Common.cpp +++ b/src/app/Common.cpp @@ -511,7 +511,11 @@ namespace Apostol { return; } - SendResource(AConnection, sPath); + CStringList TryFiles; + + TryFiles.Add("/index.html"); + + SendResource(AConnection, sPath, nullptr, false, TryFiles); } //--------------------------------------------------------------------------------------------------------------