Skip to content

[feat] officially support static, prefixed directory #231

@iambumblehead

Description

@iambumblehead

I appreciate this package and politely request koajs org to publish its own utility for serving static directories.

Github and gitlab pages are commonly served from prefixed url-paths such as "github.com/user54/myapp" served at "user54.github.io/myapp/". Supporting static, prefixed directories will allow koajs to be more-practically used as a staging service that replicates common static-pages behaviour.

Existing solutions like 'koa-static' and 'static-koa-router' seem inactive and basically do not support prefixed url-paths.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions