aboutsummaryrefslogtreecommitdiff
path: root/app/class/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/routes.php')
-rw-r--r--app/class/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/class/routes.php b/app/class/routes.php
index f24492b..bd9fd71 100644
--- a/app/class/routes.php
+++ b/app/class/routes.php
@@ -9,7 +9,7 @@ class Routes
public function match()
{
$router = new AltoRouter();
- $router->setBasePath(Config::basepath());
+ $router->setBasePath('/' . Config::basepath());
$router->addRoutes([
['GET|POST', '/', 'Backrouter#run', 'backrouter'],
['GET', '/[a:art]/', 'Controllerart#read', 'artread/'],