mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 07:42:48 +08:00
Updater should show on any subpath, like installer (#2426)
This commit is contained in:
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)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user