From bfabf128cef81f475a95042d32d240fdc03f652a Mon Sep 17 00:00:00 2001 From: Jin Yi Date: Fri, 13 Mar 2026 11:42:46 +0900 Subject: [PATCH] fix: inline splash CSS to prevent SPA fallback breakage on cloud environments (#9849) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Inline splash screen CSS into `index.html` to fix broken loading animation on cloud/ephemeral environments. ## Changes - **What**: On cloud/ephemeral environments (e.g. `fe-pr-*.testenvs.comfy.org`), SPA fallback serves `index.html` for unknown paths. The `` request resolves to `/cloud/splash.css`, which the server does not find as a static file — so it returns `index.html` with `200 OK`. The browser receives HTML instead of CSS, the CSS parser silently ignores it, and the splash screen renders without any styles or animations. - Inlined `splash.css` directly into `index.html` ` - + diff --git a/public/splash.css b/src/assets/splash.css similarity index 100% rename from public/splash.css rename to src/assets/splash.css