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 • 506 B
TypeScript
import NotFoundController from './NotFoundController';
export default class PageController extends NotFoundController implements ControllerInterface<PageControllerActionParams> {
protected config: PageControllerCtorConfig;
constructor(config: PageControllerCtorConfig);
action({ filepath }: PageControllerActionParams): Promise<{
code: number;
headers: {
'content-type': string;
};
body: string;
}>;
}
//# sourceMappingURL=PageController.d.ts.map