parent
0a83622087
commit
bda5b7c1fc
|
@ -322,7 +322,7 @@ function VercelUpdate($appId, $token, $sourcePath = "")
|
||||||
$data["target"] = "production";
|
$data["target"] = "production";
|
||||||
$data["routes"][0]["src"] = "/(.*)";
|
$data["routes"][0]["src"] = "/(.*)";
|
||||||
$data["routes"][0]["dest"] = "/api/index.php";
|
$data["routes"][0]["dest"] = "/api/index.php";
|
||||||
$data["functions"]["api/index.php"]["runtime"] = "vercel-php@0.5.1";
|
$data["functions"]["api/index.php"]["runtime"] = "vercel-php@0.5.2";
|
||||||
if ($sourcePath=="") $sourcePath = splitlast(splitlast(__DIR__, "/")[0], "/")[0];
|
if ($sourcePath=="") $sourcePath = splitlast(splitlast(__DIR__, "/")[0], "/")[0];
|
||||||
//echo $sourcePath . "<br>";
|
//echo $sourcePath . "<br>";
|
||||||
getEachFiles($file, $sourcePath);
|
getEachFiles($file, $sourcePath);
|
||||||
|
|
Loading…
Reference in New Issue