removing vestigal scope

This commit is contained in:
Ladd Hoffman 2024-12-26 19:03:50 -06:00
parent 172f0c5994
commit 9ec95ca8d8
1 changed files with 3 additions and 7 deletions

View File

@ -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 ---------------------