diff --git a/composer.lock b/composer.lock index b2d2bec6e3e..75648d82604 100644 --- a/composer.lock +++ b/composer.lock @@ -13134,16 +13134,16 @@ }, { "name": "itsgoingd/clockwork", - "version": "v5.3.3", + "version": "v5.3.4", "source": { "type": "git", "url": "https://github.com/itsgoingd/clockwork.git", - "reference": "f5b14e5c871f5b5552ec8f8c146794f0aaae8b4c" + "reference": "c27ad77a08a9e58bf0049de46969fa4fe3b506e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/f5b14e5c871f5b5552ec8f8c146794f0aaae8b4c", - "reference": "f5b14e5c871f5b5552ec8f8c146794f0aaae8b4c", + "url": "https://api.github.com/repos/itsgoingd/clockwork/zipball/c27ad77a08a9e58bf0049de46969fa4fe3b506e5", + "reference": "c27ad77a08a9e58bf0049de46969fa4fe3b506e5", "shasum": "" }, "require": { @@ -13198,7 +13198,7 @@ ], "support": { "issues": "https://github.com/itsgoingd/clockwork/issues", - "source": "https://github.com/itsgoingd/clockwork/tree/v5.3.3" + "source": "https://github.com/itsgoingd/clockwork/tree/v5.3.4" }, "funding": [ { @@ -13206,7 +13206,7 @@ "type": "github" } ], - "time": "2025-01-12T15:58:56+00:00" + "time": "2025-02-09T15:57:21+00:00" }, { "name": "jean85/pretty-package-versions", diff --git a/routes/web_v2.php b/routes/web_v2.php index bcfbdc50492..8390014c222 100644 --- a/routes/web_v2.php +++ b/routes/web_v2.php @@ -10,6 +10,7 @@ use App\Enum\OauthProvidersType; use App\Legacy\V1\Controllers\RedirectController; +use Dedoc\Scramble\Scramble; use Illuminate\Foundation\Events\DiagnosingHealth; use Illuminate\Support\Facades\Event; use Illuminate\Support\Facades\Route; @@ -80,5 +81,8 @@ Route::get('/r/{albumID}/{photoID}', [RedirectController::class, 'photo'])->middleware(['migration:complete']); Route::get('/r/{albumID}', [RedirectController::class, 'album'])->middleware(['migration:complete']); +// We need to register this manually. +Scramble::registerUiRoute(path: 'docs/api')->name('scramble.docs.ui'); + // This route must be defined last because it is a catch all. Route::match(['get', 'post'], '{path}', HoneyPotController::class)->where('path', '.*');