Skip to content
Snippets Groups Projects
Commit 97156e12 authored by David Siegfried's avatar David Siegfried
Browse files

Merge branch '119-fix-slim-configuration' into 'main'

fix slim configuration, closes #119

Closes #119

See merge request studip/studip!32
parents 00922a73 74fe10f6
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