build: bump vercel-php from 0.5.1 to 0.5.2

fix #632
This commit is contained in:
Qin Li
2022-10-06 17:25:00 +08:00
parent 0a83622087
commit bda5b7c1fc
+1 -1
View File
@@ -322,7 +322,7 @@ function VercelUpdate($appId, $token, $sourcePath = "")
$data["target"] = "production";
$data["routes"][0]["src"] = "/(.*)";
$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];
//echo $sourcePath . "<br>";
getEachFiles($file, $sourcePath);