removing vestigal scope
This commit is contained in:
parent
172f0c5994
commit
9ec95ca8d8
|
@ -93,13 +93,9 @@ export class HttpApi {
|
||||||
});
|
});
|
||||||
|
|
||||||
// Serve index
|
// Serve index
|
||||||
{
|
|
||||||
const html = this.mdFiles.generateIndex();
|
|
||||||
|
|
||||||
this.router.get('/html', (_req: express.Request, res: express.Response) => {
|
this.router.get('/html', (_req: express.Request, res: express.Response) => {
|
||||||
res.setHeader('content-type', 'text/html').send(this.mdFiles.indexHtml);
|
res.setHeader('content-type', 'text/html').send(this.mdFiles.indexHtml);
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
// ------------------- server ---------------------
|
// ------------------- server ---------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue