1
0
mirror of https://github.com/flarum/core.git synced 2025-08-04 15:37:51 +02:00

Fix installation in subdirectory

Fixes #1604.
This commit is contained in:
Franz Liedke
2018-10-26 00:27:35 +02:00
parent 194808ec7c
commit 5ad2a5a842

View File

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