This commit is contained in:
syuilo 2022-09-19 03:11:50 +09:00
parent 92c78218bc
commit a2eac9fff6
82 changed files with 671 additions and 671 deletions

View file

@ -84,7 +84,7 @@ export class ClientServerService {
) {
}
async #manifestHandler(ctx: Koa.Context) {
private async manifestHandler(ctx: Koa.Context) {
// TODO
//const res = structuredClone(manifest);
const res = JSON.parse(JSON.stringify(manifest));
@ -264,7 +264,7 @@ export class ClientServerService {
});
// Manifest
router.get('/manifest.json', ctx => this.#manifestHandler(ctx));
router.get('/manifest.json', ctx => this.manifestHandler(ctx));
router.get('/robots.txt', async ctx => {
await send(ctx as any, '/robots.txt', {