Fix csp errors
parent
79ec967958
commit
a289a996d9
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue