simplify check on flush.pug

Signed-off-by: eternal-flame-AD <yume@yumechi.jp>
This commit is contained in:
eternal-flame-AD 2025-09-04 10:31:06 -05:00
parent d48b021daa
commit 2491868d56
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ html
const msg = document.getElementById('msg'); const msg = document.getElementById('msg');
const successText = `\nSuccess Flush! <a href="/">Back to Misskey</a>\n成功しました。<a href="/">Misskeyを開き直してください。</a>`; const successText = `\nSuccess Flush! <a href="/">Back to Misskey</a>\n成功しました。<a href="/">Misskeyを開き直してください。</a>`;
if (!document.cookie.includes('http-flush-failed=1')) { if (!document.cookie) {
message('Your site data is fully cleared by your browser.'); message('Your site data is fully cleared by your browser.');
message(successText); message(successText);
} else { } else {