Files
loki/scripts
CatoandClaude 055c9b2a2e fix(deploy): copy public/ and .next/static contents, never nest them (#1478)
`cp -r "$SRC/public" "$STAGE/$NEST/public"` copies the directory INTO the
target when the target already exists, and it exists whenever an app
imports a file from public/: Next's output tracing puts that file in the
standalone bundle first. Substrata imports public/geo/*.json, so its new
install icons shipped as public/public/app-icons/ and answered 404 in
production while geo kept working.

Copy the contents into a made-sure directory instead, for public/ and,
by the same reasoning, .next/static.


Claude-Session: https://claude.ai/code/session_019MDtmreRmsJkmf3AcYy6DS

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-30 18:21:58 +01:00
..
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00