X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Fhttp%2Fpages%2Fconfirmpage.cpp;h=5de3147775fb006fba739e2c72c6b1c3b9aadc1c;hp=4c6403958ae72656e783d46fed03504c752cff1e;hb=dec33c63afafabf83c3039e916725cac6faef9b3;hpb=9b22dd53fe62e312c1647310b7ec43aa127090af diff --git a/src/http/pages/confirmpage.cpp b/src/http/pages/confirmpage.cpp index 4c64039..5de3147 100644 --- a/src/http/pages/confirmpage.cpp +++ b/src/http/pages/confirmpage.cpp @@ -32,7 +32,7 @@ const std::string ConfirmPage::GeneratePage(const std::string &method, const std content+=""; content+=""; - return "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\n"+StringFunctions::Replace(m_template,"[CONTENT]",content); + return StringFunctions::Replace(m_template,"[CONTENT]",content); }