mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Added /api => /api/docs redirect for convenience.
This commit is contained in:
@ -42,6 +42,7 @@ Route::middleware('auth')->group(function () {
|
||||
->where('path', '.*$');
|
||||
|
||||
// API docs routes
|
||||
Route::redirect('/api', '/api/docs');
|
||||
Route::get('/api/docs', [Api\ApiDocsController::class, 'display']);
|
||||
|
||||
Route::get('/pages/recently-updated', [PageController::class, 'showRecentlyUpdated']);
|
||||
|
Reference in New Issue
Block a user