add static files support and cookie expiration settings

This commit is contained in:
2021-09-11 16:34:43 +03:00
parent f3fd0780fb
commit 5bb244cbe8
16 changed files with 35 additions and 16 deletions

View File

@ -11,6 +11,7 @@ root = /
[auth]
target = disabled
allow_read_only = yes
max_age = 604800
[build]
archbuild_flags =
@ -49,4 +50,5 @@ chunk_size = 8388608
[web]
host = 127.0.0.1
static_path = /usr/share/ahriman/static
templates = /usr/share/ahriman

View File

@ -8,8 +8,5 @@ ExecStart=/usr/bin/ahriman --architecture %i web
User=ahriman
Group=ahriman
KillSignal=SIGQUIT
SuccessExitStatus=SIGQUIT
[Install]
WantedBy=multi-user.target

View File

@ -5,6 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="/static/favicon.ico">
{% include "utils/style.jinja2" %}
</head>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB