visola/go-proxy

Server root file from static endpoints

Opened this issue · 0 comments

User Story

As a user, I want to be able to serve a root file when pointing a directory.

Description

When serving a directory statically, when requesting a folder, it should return the index.html file or a 404 if non-existing.

A configurable root file name should also be available

Acceptance Criteria

  • When a request maps to a static endpoint, if it points to a folder, it should check for a root file
  • Root file name should be configurable and default to index.html