[Laravel8.x] 「The GET method is not supported for this route. Supported methods: HEAD.」が発生する。

Laravel

ある日突然、ルートにアクセスすると、「The GET method is not supported for this route. Supported methods: HEAD.」ってエラーが発生した。
ルートって、例えば、http://localhost/xxx/ にアクセスした場合って話。
ちゃんと動いていたやん?って思いつついろいろと調べた結果、

php artisan route:clear

で解決!

半日かかったんやけど…まぁいいや。

コメント

タイトルとURLをコピーしました