xmrmemes/routes/api.php
dev 9cfea79309 Remove API
The API was not being used and would need work such as pagination etc

Removing for now but leaving the code intact (just commented out) incase
there is a need to bring it back at a later date
2021-12-10 14:41:53 -06:00

22 lines
664 B
PHP

<?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();
});
// Route::middleware('api')->get('memes', [App\Http\Controllers\ApiController::class, 'memes']);