superfive33
superfive33

Reputation: 1174

Laravel new routes return 404, when deploying to Forge

I have deployed new code to my Forge server. This code includes new routes (web, api, with and without auth).I have run php artisan optimize, but all the new routes return a 404. The php artisan route:list command display the new routes. I am getting crazy...

Help!?

thanks

Upvotes: 1

Views: 552

Answers (1)

superfive33
superfive33

Reputation: 1174

OK, someone gave me the solution on Laravel's Slack. I had to relaunch PHP fpm on my Forge server, in order to reset the OPCache.

Upvotes: 1

Related Questions