summaryrefslogtreecommitdiffstats
path: root/cgit
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-08-06 02:34:16 -0400
committerMalfurious <m@lfurio.us>2024-08-07 20:56:16 -0400
commit24692f1c8458098c8c24207a1387b15d05b7ef09 (patch)
tree912d10d391b7fb3352cb5f3ed6ca15b5b6313b6f /cgit
parent93e4f015f23d42bccbe306bf02fef17fe47f0f59 (diff)
downloadsrcnode-24692f1c8458098c8c24207a1387b15d05b7ef09.tar.gz
srcnode-24692f1c8458098c8c24207a1387b15d05b7ef09.zip
cgit: Add favicon from new logo design
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'cgit')
-rw-r--r--cgit/Dockerfile2
-rw-r--r--cgit/favicon.icobin0 -> 876 bytes
-rw-r--r--cgit/httpd.conf2
3 files changed, 2 insertions, 2 deletions
diff --git a/cgit/Dockerfile b/cgit/Dockerfile
index 904712f..0d3ad64 100644
--- a/cgit/Dockerfile
+++ b/cgit/Dockerfile
@@ -8,7 +8,7 @@ RUN apk --no-cache add apache2 cgit
COPY httpd.conf /etc/apache2/
COPY cgitrc /etc/
-COPY logo.png /usr/share/srcnode/
+COPY favicon.ico logo.png /usr/share/srcnode/
RUN echo "<div class=\"footer\">$(apk version cgit | awk '/cgit/{print $1}') | $SRCNODE_VERSION</div>" >/footer
diff --git a/cgit/favicon.ico b/cgit/favicon.ico
new file mode 100644
index 0000000..174a6a1
--- /dev/null
+++ b/cgit/favicon.ico
Binary files differ
diff --git a/cgit/httpd.conf b/cgit/httpd.conf
index fb49add..59e9922 100644
--- a/cgit/httpd.conf
+++ b/cgit/httpd.conf
@@ -34,10 +34,10 @@ LogLevel warn
</Directory>
Alias /logo.png "/usr/share/srcnode/logo.png"
+Alias /favicon.ico "/usr/share/srcnode/favicon.ico"
Alias /cgit.css "/usr/share/webapps/cgit/cgit.css"
Alias /cgit.png "/usr/share/webapps/cgit/cgit.png"
-Alias /favicon.ico "/usr/share/webapps/cgit/favicon.ico"
Alias /robots.txt "/usr/share/webapps/cgit/robots.txt"
ScriptAlias / "/usr/share/webapps/cgit/cgit.cgi/"