From 93ff9a0c041ab417e80b440775ac1c78acc2c5f5 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 19 Feb 2020 02:49:55 +0200 Subject: [PATCH] test certbot --- app/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/app.php b/app/app.php index 9984f8545..57e58bcf9 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);