pull/857/head
Realodix 1 year ago
parent b400457303
commit 7497d6e824

@ -9,7 +9,7 @@
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
|
*/
*/
$app = new Illuminate\Foundation\Application(
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
@ -24,7 +24,7 @@ $app = new Illuminate\Foundation\Application(
| we will be able to resolve them when needed. The kernels serve the
| incoming requests to this application from both the web and CLI.
|
*/
*/
$app->singleton(
Illuminate\Contracts\Http\Kernel::class,
@ -50,6 +50,6 @@ $app->singleton(
| the calling script so we can separate the building of the instances
| from the actual running of the application and sending responses.
|
*/
*/
return $app;

@ -11,6 +11,6 @@ use Illuminate\Support\Facades\Route;
| routes are loaded by the RouteServiceProvider within a group which
| is assigned the "api" middleware group. Enjoy building your API!
|
*/
*/
Route::post('/url', 'UrlController@store');

@ -11,7 +11,7 @@ use Illuminate\Support\Facades\Broadcast;
| application supports. The given channel authorization callbacks are
| used to check if an authenticated user can listen to the channel.
|
*/
*/
Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
return (int) $user->id === (int) $id;

@ -12,7 +12,7 @@ use Illuminate\Support\Facades\Artisan;
| commands. Each Closure is bound to a command instance allowing a
| simple approach to interacting with each command's IO methods.
|
*/
*/
/** @var \Illuminate\Console\Command $this */
Artisan::command('inspire', function () {

Loading…
Cancel
Save