absolute path for files

This commit is contained in:
Moon Man 2024-01-21 09:12:32 -05:00
parent 478f7d33d2
commit bbbb4e191e
1 changed files with 6 additions and 6 deletions

View File

@ -70,8 +70,8 @@ function generate_html() {
<html>
<head>
<title>${ESCAPED_PODCAST_NAME}</title>
<link rel="alternate" type="application/rss+xml" title="Audio Podcast" href="/mp3.rss.xml"/>
<link rel="alternate" type="application/rss+xml" title="Video Podcast" href="/mp4.rss.xml"/>
<link rel="alternate" type="application/rss+xml" title="Audio Podcast" href="${PODCAST_WEBROOT}mp3.rss.xml"/>
<link rel="alternate" type="application/rss+xml" title="Video Podcast" href="${PODCAST_WEBROOT}mp4.rss.xml"/>
</head>
<body>
<h1>${ESCAPED_PODCAST_NAME}</h1>
@ -79,8 +79,8 @@ function generate_html() {
${ESCAPED_PODCAST_DESCRIPTION}
</p>
<ul>
<li><a href="/mp3.rss.xml">Direct link to audio podcast feed</a></li>
<li><a href="/mp4.rss.xml">Direct link to video podcast feed</a></li>
<li><a href="mp3.rss.xml">Direct link to audio podcast feed</a></li>
<li><a href="mp4.rss.xml">Direct link to video podcast feed</a></li>
</ul>
EOF
@ -98,10 +98,10 @@ EOF
<p class="item-description">${DESCRIPTION}</p>
<ul class="item-files">
<li>
<a href="/${MP3_FILE}" target="_blank">Audio</a>
<a href="${PODCAST_WEBROOT}${MP3_FILE}" target="_blank">Audio</a>
</li>
<li>
<a href="/${MP4_FILE}" target="_blank">Video</a>
<a href="${PODCAST_WEBROOT}${MP4_FILE}" target="_blank">Video</a>
</li>
</ul>
</div>