1
0
forked from mirror/misskey

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

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 //#endregion
//#region embed pages //#region embed pages
fastify.get('/embed/*', async (request, reply) => { fastify.get('/embed*', async (request, reply) => {
reply.removeHeader('X-Frame-Options'); reply.removeHeader('X-Frame-Options');
return await renderBase(reply, { noindex: true, embed: true }); return await renderBase(reply, { noindex: true, embed: true });
}); });