mason/common/autohandler: Add an AGPL link to the HTML header.
[odin-cgi] / mason / common / autohandler
index 63e44d3..ea203d9 100644 (file)
@@ -27,6 +27,7 @@
        Odin::cgi_who $r;
        Odin::fetch_cookies $r;
        $r->content_type("text/html; charset=utf8");
+       $r->header_out("X-AGPL-Source" => $Odin::SRCURL);
        $m->call_next;
 </%perl>
 %#
@@ -37,6 +38,7 @@
 
 <html>
 <head>
+<link rel="license" "type="text/html" href="https://www.gnu.org/licenses/agpl-3.0.html">
 <link rel="stylesheet" type="text/css" href="<% $Odin::STATIC %>odin.css">
 <meta name="viewport" content="width=device-width" initial-scale=1.0>
 <& SELF:header &>