mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
Merge branch 'production' of bitbucket.org:studiotem/jandl-taskmanager-app into production
This commit is contained in:
commit
3565d0da7f
1 file changed
+6
-10
+6
-10
@@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use App\Mail\NewTask;
|
|
||||||
use Illuminate\Support\Facades\Route;
|
use Illuminate\Support\Facades\Route;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -18,15 +17,6 @@ Route::get('/', function () {
|
|||||||
return view('welcome');
|
return view('welcome');
|
||||||
});
|
});
|
||||||
|
|
||||||
Route::get('/send-email', function () {
|
|
||||||
$subtask = \App\Models\SubTask::with('mastertask')->find(1622);
|
|
||||||
|
|
||||||
Mail::to('feher@studiotem.com')->send(new NewTask($subtask));
|
|
||||||
|
|
||||||
return 'Email has been sent';
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
Route::prefix('be')->group(function () {
|
Route::prefix('be')->group(function () {
|
||||||
Route::get('/unauthenticated', function () {
|
Route::get('/unauthenticated', function () {
|
||||||
return response()->json([
|
return response()->json([
|
||||||
@@ -39,6 +29,12 @@ Route::prefix('be')->group(function () {
|
|||||||
|
|
||||||
dd($subtask);
|
dd($subtask);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Route::get('/healthcheck', function () {
|
||||||
|
return response()->json([
|
||||||
|
'message' => 'All good',
|
||||||
|
], 200);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user