mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 18:51:06 +03:30
fix cors
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace App\Providers;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Packages\Messaging\src\Facades\MessageResponse;
|
||||
|
||||
class MessageServiceProvider extends ServiceProvider
|
||||
{
|
||||
@@ -12,7 +13,7 @@ class MessageServiceProvider extends ServiceProvider
|
||||
public function register()
|
||||
{
|
||||
$this->app->singleton('messages', function() {
|
||||
return new \App\Appended\Classes\Common\Response\MessageResponse;
|
||||
return new MessageResponse;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user