Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Commit 55cef88

Browse files
committed
Merge pull request #430 from peterleephp/patch-1
Fix - Fail to serve with built-in server as instructed Conflicts: composer.json
2 parents 7db2a32 + 5cc7533 commit 55cef88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Once installed, you can test it out immediately using PHP's built-in web server:
2222

2323
```bash
2424
$ cd path/to/install
25-
$ php -S 0.0.0.0:8080 -t public/ public/index.php
25+
$ php -S 0.0.0.0:8080 -t public
2626
# OR use the composer alias:
2727
$ composer run --timeout 0 serve
2828
```

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"@development-enable",
124124
"php -r '$file = file_get_contents(\".gitignore\"); $file = str_replace(\"composer.lock\", \"\", $file); file_put_contents(\".gitignore\", $file);"
125125
],
126-
"serve": "php -S 0.0.0.0:8080 -t public public/index.php",
126+
"serve": "php -S 0.0.0.0:8080 -t public",
127127
"test": "phpunit"
128128
}
129129
}

0 commit comments

Comments
 (0)