Commit 741509f0 authored by Artemis's avatar Artemis 🐱

Added privacy policy

parent 5b156f21
......@@ -167,6 +167,10 @@ func main() {
_, _ = fmt.Fprint(w, res.Val())
})
r.Get("/privacy.html", func(w http.ResponseWriter, req *http.Request) {
http.ServeFile(w, req, "privacy.html")
})
host := getEnvDefault("HTTP_HOST", ":1234")
fmt.Printf("HTTP server about to start listening on %s\n", host)
log.Fatal(http.ListenAndServe(host, r))
......
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf8" />
<title>Privacy policy and incident report guidelines</title>
</head>
<body>
<h1>Privacy Notice</h1>
<p><i>Note that this Privacy Notice is a project-specific specialisation of the privacy policy linked <a href="https://res.axdn.fr/papers/privacy.html">here</a>.</i></p>
<h2>Paste storing</h2>
<p>Every paste is stored in RAM (through Redis, configured to not persist anything), with an auto-expiry set to 1 hour.</p>
<p>In that sense, we don't persist anything, and once the expiry time is passed, everything is forgotten.</p>
</body>
</html>
......@@ -32,6 +32,7 @@
<footer>
<a href="https://gitlab.com/Artemix/paste" target="_blank">Source code</a>
| <a href="/privacy.html" target="_blank">Privacy Policy</a>
</footer>
</body>
</html>
......@@ -24,6 +24,7 @@
<footer>
<a href="https://gitlab.com/Artemix/paste" target="_blank">Source code</a>
| <a href="/privacy.html" target="_blank">Privacy Policy</a>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment