From 2ae59d207499170feb8763ecc273b706f037464f Mon Sep 17 00:00:00 2001 From: gnezim Date: Fri, 17 Apr 2026 17:18:51 +0300 Subject: [PATCH] Propagate Modern.js publicDir assets through sync + Docker build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The config/public/ directory (fonts, images, leaflet icons, favicons) is Modern.js's publicDir convention — copied into dist/standalone/public/ at build time. Two pre-existing gaps caused this to break on the deployed SSR image and any fresh sync: - scripts/sync-to-flights-front.sh did not copy config/ to the target repo, so the flights-front tree was missing /assets/** entirely. - Dockerfile.react only copied src/, skipping config/; pnpm build:standalone ran without a publicDir source. Result was that every /assets/** URL served the SSR HTML index with Content-Type: text/html, producing OTS font-parse errors (sfntVersion 1008821359 == '