Updater should show on any subpath, like installer (#2426)

This commit is contained in:
Alexander Skvortsov 2020-10-30 13:28:20 -04:00 committed by GitHub
parent 12c03dc4e1
commit 21c2a4b2a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,13 +44,13 @@ class UpdateServiceProvider extends AbstractServiceProvider
$route = $this->app->make(RouteHandlerFactory::class); $route = $this->app->make(RouteHandlerFactory::class);
$routes->get( $routes->get(
'/', '/{path:.*}',
'index', 'index',
$route->toController(Controller\IndexController::class) $route->toController(Controller\IndexController::class)
); );
$routes->post( $routes->post(
'/', '/{path:.*}',
'update', 'update',
$route->toController(Controller\UpdateController::class) $route->toController(Controller\UpdateController::class)
); );