mirror of
https://github.com/flarum/framework.git
synced 2025-03-10 04:05:30 +08:00
Updater should show on any subpath, like installer (#2426)
This commit is contained in:
parent
0cd57d8cba
commit
f3e66f23b1
@ -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)
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user