chore: update port to default laravel with artisan serve

This commit is contained in:
Supan Adit Pratama 2025-03-11 07:42:58 +00:00
parent bc8fe0de22
commit b986a9d3b3

View File

@ -18,13 +18,12 @@
}, },
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [ "forwardPorts": [
8080 8000
], ],
"postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html", "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html",
// Use 'portsAttributes' to set default properties for specific forwarded ports. More info: https://code.visualstudio.com/docs/remote/devcontainerjson-reference.
"portsAttributes": { "portsAttributes": {
"8080": { "8000": {
"label": "Apache Server", "label": "PHP Artisan Serve",
"onAutoForward": "notify" "onAutoForward": "notify"
} }
} }