一部のパスでヘンテコな起動が見られるのを修正
This commit is contained in:
parent
c77d897880
commit
43f90b1e96
|
@ -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 });
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue