Skip to content

Commit

Permalink
chore: rename env variable to make it more broad
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Alvarez committed Feb 2, 2024
1 parent 9475b4c commit 1e4b275
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/launchers/builtin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ let server: ChildProcess;
async function startServer(entrypoint: string): Promise<ChildProcess> {
// 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)`);

Expand Down

0 comments on commit 1e4b275

Please sign in to comment.