一部のパスでヘンテコな起動が見られるのを修正

This commit is contained in:
kakkokari-gtyih 2024-06-07 19:56:09 +09:00
parent c77d897880
commit 43f90b1e96

View file

@ -764,7 +764,7 @@ export class ClientServerService {
//#endregion
//#region embed pages
fastify.get('/embed/*', async (request, reply) => {
fastify.get('/embed*', async (request, reply) => {
reply.removeHeader('X-Frame-Options');
return await renderBase(reply, { noindex: true, embed: true });
});