我已经在Heroku上部署了laravel 5.4应用。问题是,我收到此错误消息:
禁止访问您无权在此服务器上访问/
web: vendor/bin/heroku-php-apache2 public/
composer.json
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize",
"chmod -R 777 public/"
]