-
Notifications
You must be signed in to change notification settings - Fork 117
Open
Description
Feature or enhancement request
It's a feature enhancement to display folder content or index.html if exists. New variable DIRECTORY_LISTINGS_CHECK_INDEX is introduced to control the behavior.
Given s3 bucket content:
├── folder
├── ── subfolder1
│ └──── index.html
├── ── subfolder2
│ └──── index.html
└── index.html
Desired result if DIRECTORY_LISTINGS=true and DIRECTORY_LISTINGS_CHECK_INDEX=true:
GET / returns /index.html content
GET /folder/ returns list of folders - [subfolder1, subfolder2]
GET /folder/subfolder1 returns /folder/subfolder1/index.html content
GET /folder/subfolder2 returns /folder/subfolder2/index.html content
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels