HDHALX3UK5VSU7WBDWSVF37QG5OBCIOLFGP5PQTGBQFOARZOKWMQC
RPAQDOZ45H2SZOXHA77HTZSVBIBT5VU2ROY5PUJFRZ2LHKXOSUCQC
6NYILMKIHYQMGMCRZANU2FDO66DGINOMCX2J4JFTUI6VL3HZ6D5QC
3GGMBQ2NU3GTQ3I5C4TSW5XOWSYDLR3QIRXZWZJK2DP7M5I7QD3QC
GZNMGW5MOJLKWVQ2ROODYOVZZHEWHO3JTTEYHHN3EHAJ3J3TBWRAC
65A3LIWUS7UNMIHACC7ED6SSSSGQMKW4SAHQLXMT2YT6PFJ7KVUQC
EVP2FSBHQUCAXQ6IIMBD6IS24ODKHP6HFWYCHIMYG6KOFRQG3RVQC
HZDCKIXQ3LCD7YPL7ZZBCRMD7YMKDJ2QAALETTG3FYMBF4TNFUBAC
4MZ4VIR7FU3PQ3WKJI6TJIKYOIIBODFEPKLMQ32S4AKPZSDFO6AQC
DGGFYSEG2LV5QWDFVI4LZN57Z7IJDV5CR7PDR6K7C55TQNRAWRKAC
ZRU62WXDVY32ZF7AUYONXUQUAKZZGCUFWAYYBA32OXEBARVDVSNAC
DNFB7TNICXFHRGPNZTT2I4VQNBPGVA2HQMUJWLNEPHF2M4SRZ3SQC
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link rel="alternate" type="application/rss+xml" href="static/rss.xml" title="Multiplayer FreeOrion server news" />
<link rel="stylesheet" type="text/css" href="static/style.css" />
<title>Cookies policy</title>
</head>
<body>
<div class="navi">
<a href="slow-games.html">Slow games corner</a>
</div>
<div class="content">
<h1>Cookies policy</h1>
Site uses only mandatory cookies to check agreement to accept cookies and user authentication. Cookies don't send to third parties.
</div>
{{> footer}}
</body>
</html>
use actix_web::{web, HttpResponse};
use crate::pages::insert_security_headers;
use crate::pages::templates::COOKIES_POLICY;
use crate::WebData;
pub async fn cookies_policy(data: web::Data<WebData<'_>>) -> HttpResponse {
let body = match data.handlebars.render(COOKIES_POLICY, &()) {
Ok(b) => b,
Err(e) => {
log::error!("Render index error: {}", e);
return HttpResponse::ServiceUnavailable().body(actix_web::body::None::new());
}
};
insert_security_headers(HttpResponse::Ok()).body(body)
}