HTTPFileServerOption

Additional options for the static file server.

Values

ValueMeaning
none0
failIfNotFound1 << 0

respond with 404 if a file was not found

serveIndexHTML1 << 1

serve index.html for directories

defaultsserveIndexHTML

default options are serveIndexHTML

Meta