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.
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.