The Best Fluffy Pancakes recipe you will fall in love with. Full of tips and tricks to help you make the best pancakes.
為了加速我的 laravel 專案,執行了
php artisan route:cache
php artisan config:cache
php artisan optimize
composer dump-autoload –optimize
都顯示成功,但是我實際登入後出現
Oops! An Error Occurred
The server returned a “405 Method Not Allowed”.
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.
只好再把快取清除,以下有四種
php artisan route:clear
php artisan config:clear
php artisan cache:clear
php artisan view:clear
發現把第一個route的清除後就正常了,不知道出了什麼狀況,之前開發的時候路由設定應該沒什麼問題才對🤔