From b08ceca81d5a63e3cf5d2e785054638b554e789f Mon Sep 17 00:00:00 2001 From: NativeTeachingAidsB <159184065+NativeTeachingAidsB@users.noreply.github.com> Date: Fri, 29 May 2026 03:19:52 -0600 Subject: [PATCH] :bug: Remove dead css/ui.css from frontend index template (#9840) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #9135. The tag in frontend/resources/templates/index.mustache references a CSS file that the build pipeline never produces: - compileStyles() in frontend/scripts/_helpers.js only writes main.css (always) and debug.css (dev-only) — there is no write to ui.css - compileStorybookStyles() writes ds.css (design system), not ui.css - No ui.scss source exists anywhere in frontend/resources/styles/ The reference was added in 45d04942c (":sparkles: Add example ui storybook") but no corresponding build step was added to emit the file. Result: every page load issues a request for /css/ui.css that nginx returns as 404. In self-hosted Penpot deployments behind a reverse proxy, the SPA's CSS init promise rejects on the 404, the React root never mounts, and the user sees a black screen. This patch removes the dead reference. If a future change actually emits ui.css (or another distinct UI bundle), the can be re-added at that time. Co-authored-by: Admin --- frontend/resources/templates/index.mustache | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/resources/templates/index.mustache b/frontend/resources/templates/index.mustache index 597ab8db3a..289d6f9e84 100644 --- a/frontend/resources/templates/index.mustache +++ b/frontend/resources/templates/index.mustache @@ -18,7 +18,6 @@ - {{#isDebug}} {{/isDebug}}