lint and type fixes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user