koa2-static
Koa2 middleware for serving static files.
Install
npm install koa2-static
Usage
const app = app;app
Options
root
{string} directory that is to be servedpath
{string} url base path
Others see koa-send
Koa2 middleware for serving static files.
npm install koa2-static
const app = app;app
root
{string} directory that is to be servedpath
{string} url base pathOthers see koa-send
npm i koa2-static
8
1.0.1
MIT