summaryrefslogtreecommitdiff
path: root/test/server.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/server.php')
-rw-r--r--test/server.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/server.php b/test/server.php
index c90942a..adc9d05 100644
--- a/test/server.php
+++ b/test/server.php
@@ -13,6 +13,9 @@ $server = new Server(
],
);
-$server->onRequest(new DocumentServer(__DIR__));
+$server->onRequest(new DocumentServer(
+ documentRoot: __DIR__,
+ useDirectoryListing: true
+));
$server->listen();