syntax
This commit is contained in:
parent
b3f59a7513
commit
1f3f1d7299
|
@ -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);
|
||||
}
|
||||
)
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue