Merge pull request #633 from liblaf/bump-vercel-php

build: bump `vercel-php` from 0.5.1 to 0.5.2
pull/636/head
qkqpttgf 2022-10-18 09:04:45 +08:00 committed by GitHub
commit 0cc83ddced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);