From 1fff58455c3a8c5da2e8f7cf1ba6c9075dddb128 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Tue, 20 Aug 2024 16:00:59 +0900 Subject: [PATCH] revert all changes in base.pug --- packages/backend/src/server/web/views/base.pug | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/packages/backend/src/server/web/views/base.pug b/packages/backend/src/server/web/views/base.pug index b37b57d28b..151b7bca6c 100644 --- a/packages/backend/src/server/web/views/base.pug +++ b/packages/backend/src/server/web/views/base.pug @@ -1,7 +1,7 @@ block vars block loadClientEntry - - const clientEntry = embed ? config.clientEmbedEntry : config.clientEntry; + - const clientEntry = config.clientEntry; doctype html @@ -17,7 +17,7 @@ doctype html https://github.com/misskey-dev/misskey -html(class=embed && 'embed') +html head meta(charset='utf-8') @@ -75,12 +75,8 @@ html(class=embed && 'embed') script(type='application/json' id='misskey_meta' data-generated-at=now) != metaJson - if embed - script - include ../boot.embed.js - else - script - include ../boot.js + script + include ../boot.js body noscript: p