forked from tilera/webapi
10 lines
292 B
PHP
10 lines
292 B
PHP
<?php
|
|
include "maven/mavenresolv.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");
|
|
}
|