Cannot list directory contents

I have an app where a bunch of files (some folders) are simply listed. Never had issue doing this with past exeout versions. Or at least I never noticed it.

When there is not an index file in a directory and just trying to list all files in the directory:

image

This error is shown in complied app:

How to navigate to a directory and show all the files like a browser does when site is set to allow indexing?

We don’t support for navigating through directories.

thanks…