Skip to content

Add option to specify basepath #886

Open
@vitonsky

Description

@vitonsky

Add some option, to serve files with some prefix.

For example, i want to serve directory ./foo with prefix /static. It means that url /static/bar must be resolved to ./foo/bar.

It would be especial useful for developers who want to run simple static server for dev environment, instead of docker with nginx and other infrastructure. The typical problem in this case is that files hosted after some prefix like in example above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions