Correct URL, woops

This commit is contained in:
Midgard 2024-11-24 00:00:45 +01:00
parent e35e8b927f
commit f762734d0f
Signed by: midgard
GPG key ID: 511C112F1331BBB4

2
gen.sh
View file

@ -85,7 +85,7 @@ printf '%s\n' "$channels" | while IFS="" read -r chan || [ -n "$chan" ]; do
cat >> "$out" <<HERE
<div class="channel" id="channel_$name">
<h2>$display_name <a href="https://mattermost.zeus.gent/zeus/$name" target="mattermost-webapp"><img src="../go_to_channel.png" alt="Go to channel" class="go_to_channel" /></a></h2>
<h2>$display_name <a href="https://$MM_SERVER/$team_name/channels/$name" target="mattermost-webapp"><img src="../go_to_channel.png" alt="Go to channel" class="go_to_channel" /></a></h2>
<dl>
HERE
if [ -n "$purpose" ]; then