build: bump `vercel-php` from 0.5.1 to 0.5.2

fix #632
pull/633/head
Qin Li 2022-10-06 17:25:00 +08:00
parent 0a83622087
commit bda5b7c1fc
No known key found for this signature in database
GPG Key ID: 35422AC2641F3ED5
1 changed files with 1 additions and 1 deletions

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);