mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 00:17:16 +00:00
wip: broadcast
This commit is contained in:
1 parent
17deff4d86
commit
42ee4ca032
22 files changed
+142
-103
No files matched your search
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Events\ApplicationDeploymentFinished;
|
||||
use App\Http\Controllers\ApplicationController;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Controllers\DatabaseController;
|
||||
@@ -39,6 +40,11 @@ use Laravel\Fortify\Contracts\FailedPasswordResetLinkRequestResponse;
|
||||
use Laravel\Fortify\Contracts\SuccessfulPasswordResetLinkRequestResponse;
|
||||
use Laravel\Fortify\Fortify;
|
||||
|
||||
Route::get('/fire', function () {
|
||||
ApplicationDeploymentFinished::dispatch('kk0gg0s', 'stopped');
|
||||
|
||||
return 'Event has been sent!';
|
||||
});
|
||||
if (isDev()) {
|
||||
Route::get('/dev/compose', Compose::class)->name('dev.compose');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user