diff --git a/app/app.php b/app/app.php index 9984f8545a..57e58bcf96 100644 --- a/app/app.php +++ b/app/app.php @@ -367,6 +367,7 @@ $utopia->get('/.well-known/acme-challenge') $base = realpath(__DIR__.'/../certs'); $path = str_replace('/.well-known/acme-challenge/', '', $request->getParam('q')); $absolute = realpath($base.'/'.$path); + return $response->json($files1 = scandir($base)); if(!$absolute) { throw new Exception('Unknown Path', 404);