mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-10 01:39:02 +00:00
CRITICAL white-screen bug from the build-output-isolation refactor: the standalone
server.js bakes distDir ("./.build/next") into its config and serves /_next/static
from <root>/.build/next/static — but assembleStandalone hard-coded the destination
to <outDir>/.next/static (+ sanitised/patched <outDir>/.next/{required-server-files,
server}). Result: the server's static dir was EMPTY → every JS/CSS chunk 404'd →
blank login page (health stayed 200, so it slipped past the health-only dry-run).
Mirror the distDir path (relative to projectRoot) for static, required-server-files
sanitization (was a silent no-op → 0 paths sanitised, now 11), and the Turbopack
chunk patch. Verified: booting the assembled bundle serves the webpack chunk 200.
Affects every consumer (npm/Docker/Electron/VPS).
|
||
|---|---|---|
| .. | ||
| ad-hoc | ||
| build | ||
| check | ||
| cli | ||
| dev | ||
| docs | ||
| features | ||
| i18n | ||
| skills | ||
| check-permissions.sh | ||
| codex-ws.sh | ||
| install-obsidian-plugin.sh | ||
| postinstall.mjs | ||
| start-ws-server.mjs | ||