This commit is contained in:
gilesb 2024-03-09 13:59:34 +00:00
parent b3f59a7513
commit 1f3f1d7299
1 changed files with 2 additions and 2 deletions

View File

@ -35,6 +35,7 @@ use Illuminate\Support\Facades\Storage;
|
*/
Route::group(['prefix' => $_ENV['API_PREFIX'] ?? ''], function () {
Route::group(['middleware' => 'auth:api'], function () {
Route::post('logout', [LoginController::class, 'logout']);
@ -235,5 +236,4 @@ Route::group(['prefix' => $_ENV['API_PREFIX'] ?? ''], function () {
Route::get('caddy/ask-certificate/{secret?}', [\App\Http\Controllers\CaddyController::class, 'ask'])
->name('caddy.ask')->middleware(\App\Http\Middleware\CaddyRequestMiddleware::class);
}
)
});