From 28b39efa7da9f5f02a531b17336a533938d69d11 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Fri, 14 Aug 2020 11:19:15 +0300 Subject: [PATCH] fix https://github.com/kataras/iris/issues/1583 --- aliases.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/aliases.go b/aliases.go index b2109572..77270d9b 100644 --- a/aliases.go +++ b/aliases.go @@ -295,6 +295,9 @@ var ( // Examples can be found at: https://github.com/kataras/iris/tree/master/_examples/file-server // A shortcut for the `router.FileServer`. FileServer = router.FileServer + // DirList is the default `DirOptions.DirList` field. + // Read more at: `core/router.DirList`. + DirList = router.DirList // DirListRich can be passed to `DirOptions.DirList` field // to override the default file listing appearance. // Read more at: `core/router.DirListRich`.