Skip to content

Firefly III: a personal finances manager

Fix https://github.com/firefly-iii/firefly-iii/issues/11720

James Coleac8bcb786bfb
diff --git a/bootstrap/app.php b/bootstrap/app.php
index 18fc942dda..51dbacdc7a 100644
--- a/bootstrap/app.php
+++ b/bootstrap/app.php
@@ -93,7 +93,7 @@ $app = Application::configure(basePath: dirname(__DIR__))
->withRouting(
web : __DIR__ . '/../routes/web.php',
commands: __DIR__ . '/../routes/console.php',
- health : '/up',
+ health : '/health',
)
->withMiddleware(function (Middleware $middleware): void {
// overrule the standard middleware
@@ -123,7 +123,7 @@ $app = Application::configure(basePath: dirname(__DIR__))
]
);
// new group?
- $middleware->appendToGroup('binders-only',
+ $middleware->group('binders-only',
[
Installer::class,
EncryptCookies::class,
diff --git a/routes/web.php b/routes/web.php
index 7d5b40234c..12e91ec4c0 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -84,7 +84,7 @@ Route::group(
['middleware' => 'binders-only', 'namespace' => 'FireflyIII\Http\Controllers\System'],
static function (): void {
// Route::get('offline', static fn () => view('errors.offline'));
- Route::get('health', ['uses' => 'HealthcheckController@check', 'as' => 'healthcheck']);
+ // Route::get('health', ['uses' => 'HealthcheckController@check', 'as' => 'healthcheck']);
}
);