fix windows build (or operator is not supported || is required

This commit is contained in:
Benjamin Sergeant 2020-05-29 17:18:09 -07:00
parent bb1be240ec
commit 4872b59fac

View File

@ -164,7 +164,7 @@ namespace ix
std::string content = res.second;
std::string acceptEncoding = request->headers["Accept-encoding"];
if (acceptEncoding == "gzip" or acceptEncoding == "*")
if (acceptEncoding == "gzip" || acceptEncoding == "*")
{
content = gzipCompress(content);
}