Skip to content

Commit 56017ef

Browse files
committed
fix: var names
1 parent baef2b0 commit 56017ef

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bin/server.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
cd `dirname $0`/..
1111

12-
SERVER_HOST=${1:-127.0.0.1:8000}
13-
SERVER_ROOT=${2:-public/}
12+
ADDR_PORT=${1:-127.0.0.1:8000}
13+
DOC_ROOT=${2:-public}
1414

15-
php -S $SERVER_HOST -t $SERVER_ROOT/ -f bin/router.php
15+
php -S "$ADDR_PORT" -t "$DOC_ROOT/" -f bin/router.php

0 commit comments

Comments
 (0)