fix PageCompiler cross-compile; fix Content-Security-Policy header

This commit is contained in:
Günter Obiltschnig
2021-06-24 19:07:26 +02:00
parent 2f33db9053
commit 9f215be08d
4 changed files with 11 additions and 18 deletions

View File

@@ -337,7 +337,7 @@ void CodeWriter::writeResponse(std::ostream& ostr)
}
if (!contentSecurityPolicy.empty())
{
ostr << "\tresponse.set(\"Content-Secure-Policy\"s, \"" << contentSecurityPolicy << "\"s);\n";
ostr << "\tresponse.set(\"Content-Security-Policy\"s, \"" << contentSecurityPolicy << "\"s);\n";
}
if (compressed)
{