summaryrefslogtreecommitdiff
path: root/ssh/routes/api.php
diff options
context:
space:
mode:
authordev2026-06-27 05:34:00 +0200
committerdev2026-06-27 05:34:00 +0200
commitb608ced142cd0527906b554e04376292f718f084 (patch)
tree6f6937b35b902db3f0bca6476000dd61e3fcc85d /ssh/routes/api.php
parent0fe83c7f76b2fd6ce79541a71cdde5ec0b12becf (diff)
parent043dd3ed90cac67975996bd881a997f38679bacd (diff)
downloadcurious-b608ced142cd0527906b554e04376292f718f084.tar.gz
Merged cinema into mostdiscussed.com
Diffstat (limited to 'ssh/routes/api.php')
-rw-r--r--ssh/routes/api.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/ssh/routes/api.php b/ssh/routes/api.php
new file mode 100644
index 0000000..bcb8b18
--- /dev/null
+++ b/ssh/routes/api.php
@@ -0,0 +1,19 @@
+<?php
+
+use Illuminate\Http\Request;
+use Illuminate\Support\Facades\Route;
+
+/*
+|--------------------------------------------------------------------------
+| API Routes
+|--------------------------------------------------------------------------
+|
+| Here is where you can register API routes for your application. These
+| routes are loaded by the RouteServiceProvider within a group which
+| is assigned the "api" middleware group. Enjoy building your API!
+|
+*/
+
+Route::middleware('auth:api')->get('/user', function (Request $request) {
+ return $request->user();
+});