From 2d063d7ece4b98c742b83c4e2641308f27396443 Mon Sep 17 00:00:00 2001 From: Jeremy Alvarez Date: Fri, 2 Feb 2024 19:39:09 +0100 Subject: [PATCH] chore: rename env variable to make it more broad --- src/launchers/builtin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/launchers/builtin.ts b/src/launchers/builtin.ts index 507e89ee..d52d549f 100644 --- a/src/launchers/builtin.ts +++ b/src/launchers/builtin.ts @@ -16,7 +16,7 @@ let server: ChildProcess; async function startServer(entrypoint: string): Promise { // Resolve document root and router const router = entrypoint; - const docroot = pathJoin(getUserDir(), process.env.VERCEL_LARAVEL_DOCROOT ?? ''); + const docroot = pathJoin(getUserDir(), process.env.VERCEL_PHP_DOCROOT ?? ''); console.log(`🐘 Spawning: PHP Built-In Server at ${docroot} (document root) and ${router} (router)`);