test webhook

This commit is contained in:
Andras Bacsai 2023-08-15 16:25:09 +02:00
parent 9c33689c11
commit 56161e8e0d
3 changed files with 4 additions and 2 deletions

View File

@ -49,6 +49,5 @@ public function submit()
} catch (\Exception $e) { } catch (\Exception $e) {
return general_error_handler(err: $e, that: $this); return general_error_handler(err: $e, that: $this);
} }
} }
} }

View File

@ -1,4 +1,4 @@
Someone added this email to the Coolify Cloud's waitlist. Someone added this email to the Coolify Cloud's waitlist.
<br> <br>
<a href="{{ $confirmation_url }}">Click here to confirm</a>! The link will expire in {{config('constants.waitlist.confirmation_valid_for_minutes')}} minutes.<br><br> <a href="{{ $confirmation_url }}">Click here to confirm</a>! The link will expire in {{config('constants.waitlist.confirmation_valid_for_minutes')}} minutes.<br><br>
You have no idea what <a href="https://cloud.coolify.io">Coolify Cloud</a> is or this waitlist? <a href="{{ $cancel_url }}">Click here to remove</a> you from the waitlist. You have no idea what <a href="https://coolify.io">Coolify Cloud</a> is or this waitlist? <a href="{{ $cancel_url }}">Click here to remove</a> you from the waitlist.

View File

@ -176,6 +176,9 @@
}); });
if (is_cloud()) { if (is_cloud()) {
Route::get('/test', function () {
return 'OK';
});
Route::get('/waitlist/confirm', function () { Route::get('/waitlist/confirm', function () {
$email = request()->get('email'); $email = request()->get('email');
$confirmation_code = request()->get('confirmation_code'); $confirmation_code = request()->get('confirmation_code');