Skip to content

Support for HTTP/HTTPS/S3/GCS should require an optional flag #23

@HadrienGardeur

Description

@HadrienGardeur

When calling the serve flag currently, it tries to support everything all at once:

  • serving EPUB files from a directory
  • allowing arbitrary EPUB files to be streamed over HTTP/HTTPS
  • streaming from S3
  • and streaming from GCS

This feels a bit much and shouldn't be the default state when you launch the HTTP server through this command.

Instead, we should:

  • default to a directory
  • but allow an optional flag to set which URI schemes are supported

For this flag, we could use the following list of values: file, http, s3 and gcs

Metadata

Metadata

Assignees

Labels

serveRelated to the serve command

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions