md-toy-blog
Version:
Very simple Markdown blog: serves your md as html without fancy databases. You will only spend time writing the actual data.
13 lines • 542 B
TypeScript
import NotFoundController from './NotFoundController';
export default class StaticFileController extends NotFoundController implements ControllerInterface<StaticFileControllerActionParams> {
protected config: StaticFileControllerCtorConfig;
constructor(config: StaticFileControllerCtorConfig);
action({ filepath }: StaticFileControllerActionParams): Promise<{
code: number;
headers: {
'content-type': string;
};
body: string;
}>;
}
//# sourceMappingURL=StaticFileController.d.ts.map