static file serving middleware based on koa-static.
yarn add qoq-staticimport { WebSlotManager } from 'qoq';
import { Static } from 'qoq-static';
const webSlots = WebSlotManager.use(new Static(root, options));@see koa-static
| Name | Name | Last commit date | ||
|---|---|---|---|---|
static file serving middleware based on koa-static.
yarn add qoq-staticimport { WebSlotManager } from 'qoq';
import { Static } from 'qoq-static';
const webSlots = WebSlotManager.use(new Static(root, options));@see koa-static