Skip to content
Snippets Groups Projects
Commit 74fe10f6 authored by Marcus Eibrink-Lunzenauer's avatar Marcus Eibrink-Lunzenauer
Browse files

fix slim configuration, closes #119

parent 00922a73
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ $app = AppFactory::create();
$container->set(\Slim\App::class, $app);
// Set the base path
$app->setBasePath('/jsonapi.php');
$app->setBasePath($GLOBALS['CANONICAL_RELATIVE_PATH_STUDIP'] . 'jsonapi.php');
// Register middleware
$middleware = require 'lib/classes/JsonApi/middleware.php';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment