mirror of
https://github.com/flarum/framework.git
synced 2025-01-23 14:36:15 +08:00
parent
194808ec7c
commit
5ad2a5a842
|
@ -74,13 +74,13 @@ class InstallServiceProvider 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:.*}',
|
||||||
'install',
|
'install',
|
||||||
$route->toController(Controller\InstallController::class)
|
$route->toController(Controller\InstallController::class)
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user