Revert "fix(routes): local API docs not available on domain or IP"
This reverts commit a8b5f6befc.
This commit is contained in:
parent
a8b5f6befc
commit
1f498f8595
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@
|
|||
use ThreeSidedCube\LaravelRedoc\Http\Controllers\DefinitionController;
|
||||
use ThreeSidedCube\LaravelRedoc\Http\Controllers\DocumentationController;
|
||||
|
||||
Route::middleware(['auth', ApiAllowed::class])->group(function () {
|
||||
Route::group(['middleware' => ['auth:sanctum', ApiAllowed::class]], function () {
|
||||
Route::get('/docs/api', DocumentationController::class)->name('redoc.documentation');
|
||||
Route::get('/docs/api/definition', DefinitionController::class)->name('redoc.definition');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue