Mojolicious one liner to service status files with listing directory

Viewed 124

I am looking for Mojolicious one liner for serving static files and listing the directory by default

I come to this one liner :

perl -Mojo -E "a->static->paths(['c:\temp']);a->start" daemon

which serving static files on specific directory but its not listing the files by default , any idea if it can be changed to also list the files by default as one liner ?

1 Answers
Related