fe looks like completed

This commit is contained in:
acetone
2022-11-18 21:53:11 +03:00
parent 419ab1a2b5
commit 5b2a28d052
5 changed files with 43 additions and 10 deletions
+4
View File
@@ -45,6 +45,10 @@ void SocketRunnable::get()
{
httpDocument().setBody(QFile(":/html/main.css"), eTag);
}
else if (urlPath() == "/favicon.ico")
{
httpDocument().setBody(QFile(":/html/favicon.ico"), eTag);
}
else
{
httpDocument().setBody(QFile(g::p::WORKING_DIR + "/html" + urlPath()), eTag);