Fix Electron production CSS not loading under file://.

Strip crossorigin from the built index so stylesheets apply in the packaged app, and use a relative manifest path for the same reason.
This commit is contained in:
2026-07-22 18:37:21 +10:00
parent 57828dd33a
commit 340a719efc
3 changed files with 17 additions and 3 deletions

View File

@@ -6,8 +6,6 @@ import { MessageEmptyContent } from './content';
import { sanitizeCustomHtml } from '../../utils/sanitize';
import { highlightText, scaleSystemEmoji } from '../../plugins/react-custom-html-parser';
import { isMxEmoticonOnlyHtml } from '../../utils/regex';
// Ensure jumbo emoji global styles are always in the bundle.
import './layout/layout.css';
type RenderBodyProps = {
body: string;