From e5764c622689488d99f13976806ff6b39ac391cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D1=80=D0=B5=D0=BF=D0=BE=D0=B4=D0=BE=D0=B1=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=90=D0=BB=D0=B5=D0=BD?= Date: Fri, 21 Oct 2022 21:43:38 +0300 Subject: [PATCH] Committing updates. --- src/app/Common.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); } //--------------------------------------------------------------------------------------------------------------