Fix csp errors

antao 2023-09-02 16:13:38 +08:00
parent 79ec967958
commit a289a996d9
2 changed files with 2 additions and 2 deletions

@ -66,7 +66,7 @@ drogon::HttpAppFramework::instance()
<!DOCTYPE html>
<html>
<%c++
auto para=@@.get<std::unordered_map<std::string,std::string>>("parameters");
auto para=@@.get<std::unordered_map<std::string,std::string,utils::internal::SafeStringHash>>("parameters");
%>
<head>
<meta charset="UTF-8">

@ -64,7 +64,7 @@ Then, Go to the views folder and create a view file ListParameters.csp with the
<!DOCTYPE html>
<html>
<%c++
auto para=@@.get<std::unordered_map<std::string,std::string>>("parameters");
auto para=@@.get<std::unordered_map<std::string,std::string,utils::internal::SafeStringHash>>("parameters");
%>
<head>
<meta charset="UTF-8">