mirror of
https://github.com/flarum/core.git
synced 2025-08-05 07:57:46 +02:00
Updater should show on any subpath, like installer (#2426)
This commit is contained in:
committed by
GitHub
parent
12c03dc4e1
commit
21c2a4b2a4
@@ -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)
|
||||
);
|
||||
|
Reference in New Issue
Block a user