From 56161e8e0dcff45a4ac5accfb23c245b57a22ac0 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 15 Aug 2023 16:25:09 +0200 Subject: [PATCH] test webhook --- app/Http/Livewire/Waitlist.php | 1 - resources/views/emails/waitlist-confirmation.blade.php | 2 +- routes/webhooks.php | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/Http/Livewire/Waitlist.php b/app/Http/Livewire/Waitlist.php index 29a29f7f2..ffa1b1f5c 100644 --- a/app/Http/Livewire/Waitlist.php +++ b/app/Http/Livewire/Waitlist.php @@ -49,6 +49,5 @@ class Waitlist extends Component } catch (\Exception $e) { return general_error_handler(err: $e, that: $this); } - } } diff --git a/resources/views/emails/waitlist-confirmation.blade.php b/resources/views/emails/waitlist-confirmation.blade.php index 44aac5f74..922610e91 100644 --- a/resources/views/emails/waitlist-confirmation.blade.php +++ b/resources/views/emails/waitlist-confirmation.blade.php @@ -1,4 +1,4 @@ Someone added this email to the Coolify Cloud's waitlist.
Click here to confirm! The link will expire in {{config('constants.waitlist.confirmation_valid_for_minutes')}} minutes.

-You have no idea what Coolify Cloud is or this waitlist? Click here to remove you from the waitlist. +You have no idea what Coolify Cloud is or this waitlist? Click here to remove you from the waitlist. diff --git a/routes/webhooks.php b/routes/webhooks.php index 0739c1c38..c6f8a5576 100644 --- a/routes/webhooks.php +++ b/routes/webhooks.php @@ -176,6 +176,9 @@ Route::post('/source/github/events', function () { }); if (is_cloud()) { + Route::get('/test', function () { + return 'OK'; + }); Route::get('/waitlist/confirm', function () { $email = request()->get('email'); $confirmation_code = request()->get('confirmation_code');