lint and type fixes
This commit is contained in:
parent
54071efaea
commit
6ac37b4d6c
84 changed files with 188 additions and 374 deletions
|
|
@ -427,7 +427,7 @@ export class ClientServerService {
|
|||
fastify.get('/robots.txt', async (request, reply) => {
|
||||
if (this.meta.robotsTxt) {
|
||||
reply.header('Content-Type', 'text/plain');
|
||||
return await reply.send(this.meta.robotsTxt);
|
||||
return reply.send(this.meta.robotsTxt);
|
||||
} else {
|
||||
return await reply.sendFile('/robots.txt', staticAssets);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue