Skip to content

Commit 4313068

Browse files
committed
easy
1 parent e456670 commit 4313068

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
@@ -24,7 +24,7 @@ Go to the public directory
2424
Start the server
2525

2626
```bash
27-
php -S localhost:8080
27+
composer run serve
2828
```
2929
Voila! Enjoy development.
3030

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
1212
],
1313
"serve": [
14-
"@php -S localhost:8080"
14+
"@php -S localhost:8080 -t public public/index.php"
1515
]
1616
},
1717
"autoload": {

0 commit comments

Comments
 (0)