Note the frontend import path rule for server modules

This commit is contained in:
Jonathan Sykes
2026-10-03 22:13:03 +08:00
parent c6074bdbc5
commit 528e7c1ea1

View File

@@ -554,3 +554,5 @@ field being typed in and reset the scroll position.
## Commit rules
One changeset = one commit, single-line imperative message, **no AI attribution
of any kind** (global rule). `git push origin main` pushes to both remotes.
- Server code must not import `../frontend/...` directly: the Docker image copies frontend/ to `server/public/`. Use the existsSync fallback pattern (see piano.js / direct-relay.js).