Switching to view public key lookup in db

This commit is contained in:
Lee Clagett
2020-08-20 23:08:51 -04:00
parent 535fd2bd97
commit e99374170f
4 changed files with 12 additions and 6 deletions

View File

@@ -789,8 +789,7 @@ namespace lws
response.m_response_comment = "OK";
response.m_mime_tipe = "application/json";
response.m_header_info.m_content_type = "application/json";
response.m_body.assign(reinterpret_cast<const char*>(body->data()), body->size()); // \TODO Remove copy here too!
response.m_additional_fields.push_back({"Access-Control-Allow-Credentials", "true"});
response.m_body.assign(reinterpret_cast<const char*>(body->data()), body->size()); // \TODO Remove copy here too!s
return true;
}
};