fix mpt hardcoding

This commit is contained in:
Timo Ley 2020-08-21 23:36:42 +02:00
parent 10448793f3
commit cc52fe4630
1 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
<?php
include "maven/mavenresolv.php";
include 'vars.php';
if ($_SERVER["PATH_INFO"] == "/latest") {
header('Content-Type: text/plain');
echo "https://data.tilera.xyz/file/mpt/mpt-1.2-SNAPSHOT.jar";
} elseif ($_SERVER["PATH_INFO"] == "/latestnew") {
echo mavenLatest("ley.anvil", "modpacktools");
echo $mptlatest;
} elseif ($_SERVER["PATH_INFO"] == "/script") {
echo "WIP";
}