Skip to content

Commit 2d063d7

Browse files
Jeremy Alvarezf3l1x
Jeremy Alvarez
authored andcommitted
chore: rename env variable to make it more broad
1 parent cd05f8d commit 2d063d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/launchers/builtin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let server: ChildProcess;
1616
async function startServer(entrypoint: string): Promise<ChildProcess> {
1717
// Resolve document root and router
1818
const router = entrypoint;
19-
const docroot = pathJoin(getUserDir(), process.env.VERCEL_LARAVEL_DOCROOT ?? '');
19+
const docroot = pathJoin(getUserDir(), process.env.VERCEL_PHP_DOCROOT ?? '');
2020

2121
console.log(`🐘 Spawning: PHP Built-In Server at ${docroot} (document root) and ${router} (router)`);
2222

0 commit comments

Comments
 (0)