mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-06-28 06:41:43 +00:00
add static files support and cookie expiration settings
This commit is contained in:
@ -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
|
@ -8,8 +8,5 @@ ExecStart=/usr/bin/ahriman --architecture %i web
|
||||
User=ahriman
|
||||
Group=ahriman
|
||||
|
||||
KillSignal=SIGQUIT
|
||||
SuccessExitStatus=SIGQUIT
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -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>
|
||||
|
||||
|
BIN
package/share/ahriman/static/favicon.ico
Normal file
BIN
package/share/ahriman/static/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.7 KiB |
Reference in New Issue
Block a user