mardi 5 novembre 2019

A facade root has not been set.in Facade.php (line 218) Laravel 5.4. Problem with Route?

I moved my site to Laravel on a local server, after solving several migration problems 5.3 to 5.4. But one problem remained unresolved when requesting the address http: //localhost:8000/rpc

error with Facade.php

I think the problem is in Route. My web.php

Route::any('/rpc', ['middleware'=>'cors', function() {
    return ExtDirect::provide();
}]);

Route::options('/rpc', ['middleware'=>'cors', function() {
    return ExtDirect::provide();
}]);

Can someone provide me with advice on this?



via Chebli Mohamed

1 commentaire:

Unknown a dit…

Can come help with thit problem?

Enregistrer un commentaire