Redirect to srv.9iron.club for large files

This commit is contained in:
Salt 2021-05-11 22:23:14 -05:00
parent abda022dfb
commit 142d2978d0

View File

@ -42,11 +42,11 @@ function echo_pack($pack) {
# A small button to browse previous world downloads
if (file_exists("../files/packs/$pack/worlds")) {
echo "<p><a href=\"/files/packs/$pack/worlds\" class=\"worldsbutton\">Browse world backups</a></p>";
echo "<p><a href=\"https://srv.9iron.club/files/packs/$pack/worlds\" class=\"worldsbutton\">Browse world backups</a></p>";
}
# And a bright big download button
echo "<a href=\"/files/packs/$pack/latest.zip\" class=\"downloadbutton\">Download</a>";
echo "<a href=\"https://srv.9iron.club/files/packs/$pack/latest.zip\" class=\"downloadbutton\">Download</a>";
echo '</div>';
}
# Get list of modpacks