Compare commits

...

2 commits

Author SHA1 Message Date
Timo Ley 4bb747c11c mpt script 2020-08-21 23:44:14 +02:00
Timo Ley cc52fe4630 fix mpt hardcoding 2020-08-21 23:36:42 +02:00

View file

@ -1,9 +1,10 @@
<?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") {
header('Content-Type: text/plain');
echo file_get_contents("https://data.tilera.xyz/file/mpt/mpt");
}