diff options
Diffstat (limited to 'test/server.php')
-rw-r--r-- | test/server.php | 5 |
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(); |