Make v1 clients prompt user to upgrade to v2

This commit is contained in:
Skylar Ittner 2019-06-05 02:25:38 -06:00
parent 78a46edd37
commit 487775734e

11
minclientversion.php Normal file
View File

@ -0,0 +1,11 @@
<?php
/*
* Give the minimum allowed game client version. The client should check on
* startup and not continue if its version is less than the given version.
*/
header('Content-Type: application/json');
header("Access-Control-Allow-Origin: *");
echo json_encode(["status" => "OK", "version" => "2.0.0"]);