1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 15:51:16 +02:00

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 0cd57d8cba
commit f3e66f23b1

View File

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